Skip to main content

Utils for fastapi based services.

Project description

coverage PyPI version fury.io PyPI pyversions Documentation Status MIT License Powered by Dephell

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.

Tests

For testing we use pytest, for details see Pytest Docs. To run all tests:

make tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_serviceutils-2.1.0.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

fastapi_serviceutils-2.1.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_serviceutils-2.1.0.tar.gz.

File metadata

  • Download URL: fastapi_serviceutils-2.1.0.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for fastapi_serviceutils-2.1.0.tar.gz
Algorithm Hash digest
SHA256 e024b0e3c771fec32e48f07d489bd359b8abbffee3e6f03ad4913ac00869e6c6
MD5 92fcbe35cd0ac6bb7c96b61028b31a52
BLAKE2b-256 cb0e489052c65bb43f2617578d9df97174f13e1501b24d247d0f8279584a72ba

See more details on using hashes here.

File details

Details for the file fastapi_serviceutils-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: fastapi_serviceutils-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for fastapi_serviceutils-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6058fc39bd93b9081f4858f0377d36608c43c5892b765166acee2fe0ccf15e7a
MD5 a2e17cf20bf51849351dc9e5d88ea434
BLAKE2b-256 e9f7111805746c9181bc28adc09a0818f4e30067fe8d8325bf7ff96ed34f674b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page