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:

dephell venv shell --env devs

Note:

Make sure to always activate the environment when you start working on the project in a new terminal using

dephell venv shell --env devs

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-1.0.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_serviceutils-1.0.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_serviceutils-1.0.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for fastapi_serviceutils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3164ead6709a24f5b425a4519da3c464a69caee9756bc323c25ecbb66e3077ed
MD5 e5e2d10bfbced53abcd5a57453ae483c
BLAKE2b-256 29d65c5f8e09d9b078fbdb82c78796131f9ca630bdb1d333a1688d444147f353

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastapi_serviceutils-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for fastapi_serviceutils-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff3a1ac583ccf762bede007dbb1e66ebe3b53fe812165f7b65ce658e415b005f
MD5 66c689312b3c658c7b8c7d7b13e8fdf4
BLAKE2b-256 4b0496b2125a0d30cee7529ef204efa756235883027512fccd8355d6daeef106

See more details on using hashes here.

Supported by

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