Utils for fastapi based services.
Project description
Installation
pip install fastapi-serviceutils
Usage
For more details and usage see: readthedocs
Development
Getting started
After cloning the repository initialize the development environment using:
make init
This will create the dev environment exampleservice/dev. Activate it using:
poetry shell
Note:
Make sure to always activate the environment when you start working on the project in a new terminal using
poetry shell
ATTENTION: the environment should also be activated before using make.
Updating dependencies
After each change in dependencies defined at pyproject.toml run the following to ensure the environment-definition and lock-file are up to date:
make update
Checking with linters and checkers
To run all pre-commit-hooks manually run:
make check
Info about project-state
To show summary about project run:
make info
Documentation
The project’s developer documentation is written using Sphinx.
The documentation sources can be found in the docs subdirectory.
The API-documentation is auto-generated from the docstrings of modules, classes, and functions. We’re using the Google docstring standard.
To generate the documentation, run:
make docs
The output for generated HTML files is in the docs/_build directory.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size fastapi_serviceutils-2.0.0-py3-none-any.whl (23.0 kB) | File type Wheel | Python version py3 | Upload date | Hashes View hashes |
Filename, size fastapi_serviceutils-2.0.0.tar.gz (28.5 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Hashes for fastapi_serviceutils-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7058ad8d0cf9928edef8ed290719d02e77fe2f8d1b8b4805c40f90be9609cdd |
|
MD5 | d86f53f3d7f7890ae426f951c5900e3a |
|
BLAKE2-256 | 8c7f45aee312667e8d69e9e15575aec87c3db275a855804151abc838b472aaf8 |
Hashes for fastapi_serviceutils-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bca6cbae11411b47b292eae72934146495cd7feade801afed1c3174cd704aec |
|
MD5 | a6c2ad70ab52655c5cc1d379eaa30ce2 |
|
BLAKE2-256 | 507afdb280a7f7e9a4bbab560e93cb65387ae2a7bb30fc57fb58e9692a4559fe |