Skip to main content

abhijanfastapi

Scaffolding CLI for Abhijan FastAPI projects.

Provides the abhijan command with two subcommands:

  • abhijan init — creates main.py, config.py, database.py
  • abhijan alembic — creates alembic/env.py with 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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abhijanfastapi 1.0.1
File Size Uploaded
abhijanfastapi-1.0.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for abhijanfastapi 1.0.1
File Interpreter ABI Platform
abhijanfastapi-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / abhijanfastapi-1.0.1.tar.gz

Download URL abhijanfastapi-1.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
41ef5b4ad511f8f0b30306cdb5686d5ad59783540754498cc8bcbdbbb91f5b01
BLAKE2b-256 checksum
How to use checksums
def269263abf8de5fc36546b098167e2b42272f283144e9f087842c02eff9063
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.1-py3-none-any.whl

Download URL abhijanfastapi-1.0.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9af160808f4b0bdaa2f6b03d17884c224c4e2563123064a32a6591babafdd2aa
BLAKE2b-256 checksum
How to use checksums
bda0c891d3457700a1a6974ade88a1ca10cb756a93ceb2ef9e1b82f994332f0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

1.0.4

1 release file

1.0.3

2 release files

1.0.2

2 release files

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page