I made this project to avoid copy-pasting with utils in my projects. I was aiming to simplify working with sqlalchemy.
See sources for more info about utils. README (or probably, separated documentation), will be updated soon.
With pip:
pip install sqlalchemy-dev-utils
With pdm:
pdm add sqlalchemy-dev-utils
With poetry:
poetry add sqlalchemy-dev-utils
Package has optional dependencies, so if you use it in some specific cases, install only needed dependencies.
For alembic utils:
pip install "sqlalchemy-dev-utils[alembic]"
For pydantic model field:
pip install "sqlalchemy-dev-utils[pydantic_field]"
For relativedelta model field (replace for timedelta):
pip install "sqlalchemy-dev-utils[relativedelta_field]"