Contributor guidelines

Developer prerequisites


Refer to pre-commit for installation instructions.


pip install pipx --user  # Install pipx
pipx install pre-commit  # Install pre-commit
pre-commit install  # Install pre-commit hooks

Installing pre-commit will ensure you adhere to the project code quality standards.

Code standards

black, isort, ruff and doc8 will be automatically triggered by pre-commit. Still, if you want to run checks manually:

make black
make doc8
make isort
make ruff


Requirements are compiled using pip-tools.

make compile-requirements

Virtual environment

You are advised to work in virtual environment.


python -m venv env
pip install -e .[all]


Check documentation.


Check testing.

If you introduce changes or fixes, make sure to test them locally using all supported environments. For that use tox.


In any case, GitHub Actions will catch potential errors, but using tox speeds things up.

Pull requests

You can contribute to the project by making a pull request.

For example:

  • To fix documentation typos.

  • To improve documentation (for instance, to add new recipe or fix an existing recipe that doesn’t seem to work).

  • To introduce a new feature (for instance, add support for a non-supported file type).

Good to know:

  • This library consists of a single module. That module is dependency free, self-contained (includes all tests) and portable. Do not submit pull requests splitting the module into small parts.

  • Some tests contain simplified implementation of existing libraries (Django ORM, TortoiseORM, SQLAlchemy). If you need to add integration tests for existing functionality, you can add the relevant code and requirements to the examples, along with tests. Currently, all integration tests are running in the CI against the latest version of Python.

General list to go through:

  • Does your change require documentation update?

  • Does your change require update to tests?

  • Does your change rely on third-party package or a cloud based service? If so, please consider turning it into a dedicated standalone package, since this library is dependency free (and will always stay so).

When fixing bugs (in addition to the general list):

  • Make sure to add regression tests.

When adding a new feature (in addition to the general list):


Questions can be asked on GitHub discussions.


For reporting a bug or filing a feature request use GitHub issues.

Do not report security issues on GitHub. Check the support section.