Skip to main content

Utilities that you use in various projects made in FastAPI

Project description

Fastapi-lazy 🦥

PyPI version

Utilities that you use in various projects made in FastAPI.


Source Code: https://github.com/yezz123/fastapi-lazy

Install the project: pip install fastapi-lazy


Features 🎉

  • Use the data contained in the JWT
  • Use the username contained in the JWT and fetch data.
  • Multi Database Support:
    • Creates the dependency to be used to connect to the Postgresql.
    • Creates the dependency to be used to connect to the MongoDB.
  • Support Redis Cache:
    • Creates a pickle of the object passed as a parameter and saves it in the Redis which is also passed as a parameter.
    • Read the pickle of the object saved in RedisDB and return it as Python object.
  • Support UUID generator:
    • Create a custom UUID4 using the current timestamp.

Development 🚧

You should create a virtual environment and activate it:

python -m venv venv/
source venv/bin/activate

And then install the development dependencies:

pip install -r requirements.dev.txt

Format the code 💅

Execute the following command to apply pre-commit formatting:

make lint

License 🍻

This project is licensed under the terms of the MIT license.

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_lazy-1.2.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

fastapi_lazy-1.2.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_lazy-1.2.0.tar.gz.

File metadata

  • Download URL: fastapi_lazy-1.2.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fastapi_lazy-1.2.0.tar.gz
Algorithm Hash digest
SHA256 42d0a743e5bb2745d435c18c38ec97c1613b051cc28c5931c92470c31e5f6696
MD5 6ac0b596f14451e16ff05555d6806f83
BLAKE2b-256 db3d2a5b0a2c7a7350d85a69e024063adda99b0c1592058b6c02af2e48675f58

See more details on using hashes here.

File details

Details for the file fastapi_lazy-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: fastapi_lazy-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fastapi_lazy-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9db8dbce530dcab1cce6181a530902c617a9e0df5b374cf2d217de821b18f9b6
MD5 ab8f7f8688a3808852918935c41865d2
BLAKE2b-256 a84cededea368e1b174c07bd84ed607548ea8cf3352aab9336a16ab7649eb80d

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