Thank you for your interest in contributing to fastapi-di-kit!
-
Clone the repository
git clone https://github.com/tonlls/fastapi-di-kit.git cd fastapi-di-kit -
Install dependencies with uv
uv sync
-
Run tests
uv run pytest tests/ -v
# Basic examples
uv run python examples/01_basic_usage.py
# FastAPI examples (starts server on localhost:8000)
uv run python examples/02_lifecycle_management.pyfastapi-di-kit/
├── src/fastapi_di_kit/ # Core library code
├── tests/ # Test suite
├── examples/ # Usage examples
├── pyproject.toml # Project configuration
└── README.md # Documentation
- Follow PEP 8 guidelines
- Use type hints for all function signatures
- Add docstrings to public APIs
- Keep functions focused and testable
- Create a new branch for your feature/fix
- Add tests for new functionality
- Ensure all tests pass
- Update documentation as needed
- Submit a pull request with a clear description
All new features must include tests:
uv run pytest tests/ -v --cov=src/fastapi_di_kitFeel free to open an issue for any questions or suggestions!