Reusable utilities for FastAPI
Project description
🎨⚡️🔥 Reusable Utilities for FastAPI
Source Code: https://github.com/priyanshu-panwar/fastapi-utilities
Inspired From: dmontagu/fastapi-utils
Features
This package includes a number of utilities to help reduce boilerplate and reuse common functionality across projects:
- Repeated Tasks: Easily trigger periodic tasks on server startup.
from fastapi_utilities.repeat import repeat_every
@router.on_event('startup')
@repeat_every(seconds=3)
async def print_hello():
print("hello")
Requirements
This package is intended for use with any recent version of FastAPI and Python 3.7+.
Installation
pip install fastapi-utils
License
This project is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi_utilities-0.1.0.tar.gz.
File metadata
- Download URL: fastapi_utilities-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef6c7a530696c3ad06de5c36c87b0310e6d38c058302ec9c638b7b741d1bcccf
|
|
| MD5 |
f46d715d7b308407d8002f33ba74d1bb
|
|
| BLAKE2b-256 |
4438b6fadd921274f8720c8112723ec38f5df086acdcdd2bd13b9a9120f85400
|
File details
Details for the file fastapi_utilities-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fastapi_utilities-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45ada1da38e3c4c6d9ec0894e878569e95479cc369df362a27005e6f3ea825e9
|
|
| MD5 |
3857dab9e6feb0cf6df6eaa2209ff59a
|
|
| BLAKE2b-256 |
f58f458f4b0e6f928a536ac0fa4ce84adcec055d9c22f56a69dc5c03b130f527
|