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.3
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.3.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abhijanfastapi-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / abhijanfastapi-1.0.3.tar.gz
| Download URL | abhijanfastapi-1.0.3.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd748229af5fd6afbc9db888f75a1dc34f4008ebcb6cea83da5a80bcdb68acb1
|
|
BLAKE2b-256 checksum How to use checksums |
6b5da38b579ef5e4f243d8ffa617c8213328510d6e70cf06b0d6c78026428382
|
| 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.3-py3-none-any.whl
| Download URL | abhijanfastapi-1.0.3-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a05000455b86e36550d93251dbb78153f3cb4cdd205c6ac72b98faa7ebc7055a
|
|
BLAKE2b-256 checksum How to use checksums |
b585875f476c4ff3577b8074d0261953478e549149206ac00f4190c88cafd4c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|