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.2
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.2.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abhijanfastapi-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / abhijanfastapi-1.0.2.tar.gz
| Download URL | abhijanfastapi-1.0.2.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1f577bc2317006527e9d7384ca12100563dc7a7c01a4979c46d586abbc257ea
|
|
BLAKE2b-256 checksum How to use checksums |
5a0955781525d6d196e7feffbe052b19feb83eb6aeec34cdc3c7bc61482d77d1
|
| 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.2-py3-none-any.whl
| Download URL | abhijanfastapi-1.0.2-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e387106dd853a5f90445e94673dc1c8523c83307aafb6b8db6460e6e2dc1faf5
|
|
BLAKE2b-256 checksum How to use checksums |
fcf52ce3d4fe3136dc46651b56e1e1754fd17d9c5eb30a8cd0f801d2feec8db4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|