# backend [![PyPI - Version](https://img.shields.io/pypi/v/backend.svg)](https://pypi.org/project/backend) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/backend.svg)](https://pypi.org/project/backend) ----- ## Table of Contents - [Installation](#installation) - [License](#license) ## Installation ```console apt install weasyprint hatch shell fastapi dev src/main.py ``` ### Migration This repository use `alembic` for migrations #### Create migration ```console alembic revision --autogenerate -m "message" ``` #### Apply migration ```console alembic upgrade head ``` ## Tests ``` hatch run pytest hatch run pytest --cov=src -vv ``` ## Autoformat ```console find -type f -name '*.py' ! -path 'alembic/*' -exec autopep8 --in-place --aggressive --aggressive '{}' \; pylint -d R0801,R0903,W0511,W0603,C0103,R0902 . ``` ## License `backend` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.