Installation
pip install zimran-fastapi
Usage
from zimran.config import CommonSettings
from zimran.fastapi import create_app
class Settings(CommonSettings):
pass
settings = Settings()
app = create_app(settings.environment)
from fastapi import Depends, Response
from zimran.fastapi.dependencies import get_user_id
async def handler(user_id: int = Depends(get_user_id)) -> Response:
pass
Release files for zimran-fastapi 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zimran_fastapi-2.1.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zimran_fastapi-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / zimran_fastapi-2.1.1.tar.gz
| Download URL | zimran_fastapi-2.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11a76cdf45a9e7d4adb1d13871c59f1b439abd1c2aafd6b5085e69124f743fb8
|
|
BLAKE2b-256 checksum How to use checksums |
0449b693b5c7cf938efdc35c9582c6da6ba3576009bcec0811c378534e6238ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Release files / zimran_fastapi-2.1.1-py3-none-any.whl
| Download URL | zimran_fastapi-2.1.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcbaaec04723c6dcda2023a13061e05db589fa36022cc10d546d070766f5e384
|
|
BLAKE2b-256 checksum How to use checksums |
32cd1a8aa71f458eecbde40f02411594463714a854239ef1da8982576dd02c27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|