abhijanfastapi
Scaffolding CLI for Abhijan FastAPI projects.
Provides the abhijan command with two subcommands:
abhijan init— createsmain.py,config.py,database.pyabhijan alembic— createsalembic/env.pywith the async migration config
Install
pip install abhijanfastapi
Usage
# scaffold a new project in the current directory
abhijan init
# scaffold into a specific directory
abhijan init -d ./my-app
# (re)create alembic/env.py
abhijan alembic
# overwrite existing files without prompting
abhijan init -f
After scaffolding, run your app with:
uvicorn main:app --reload
And run migrations with:
alembic revision --autogenerate -m "initial"
alembic upgrade head
Requirements
- Python >= 3.10
License
MIT
Metadata
Release files for abhijanfastapi 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| abhijanfastapi-1.0.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abhijanfastapi-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / abhijanfastapi-1.0.0.tar.gz
| Download URL | abhijanfastapi-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edfcea1f27de44cb27ef1278ea6672d7ef185a7bb23d56f2c1d1cc8db2ac2bea
|
|
BLAKE2b-256 checksum How to use checksums |
5d59dd031024e5de582e92fe5ef7094e49faec509ad8f91146e3a257bedd8281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / abhijanfastapi-1.0.0-py3-none-any.whl
| Download URL | abhijanfastapi-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
131b32d2a75a3789a1fb19a9441988166235a72af11960a3b97e0c6adc085fba
|
|
BLAKE2b-256 checksum How to use checksums |
569a074c76721f6643f0c147354e6c1b50b05d905a483b7c18a3a7948725f564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|