abhijanfastapi
Scaffolding CLI for Abhijan FastAPI projects.
Provides the abhijan command with three subcommands:
abhijan init— createsmain.py,config.py,database.py,requirements.txtabhijan alembic— createsalembic/env.pywith the async migration configabhijan storage— addsstorage.pyand patchesconfig.pywith upload settings
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
# add upload support (writes storage.py + config.py settings)
abhijan storage
# (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
Contributing
See CONTRIBUTING.md. New features go on a feature branch,
opened as a pull request against master — never commit directly to master.
Requirements
- Python >= 3.10
License
MIT
Metadata
Release files for abhijanfastapi 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abhijanfastapi-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / abhijanfastapi-1.0.4-py3-none-any.whl
| Download URL | abhijanfastapi-1.0.4-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a1995139867856c1cb5d10dfe37b70310cdf19c4f8d2e9f37e288e8f806cc29
|
|
BLAKE2b-256 checksum How to use checksums |
b0abfe21e4a7c31ffc44cf07514560077f8242ea503ccf251a369cda529565f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|