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.0

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.0
File Size Uploaded
abhijanfastapi-1.0.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for abhijanfastapi 1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

1.0.4

1 release file

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

This release

1.0.0 This release

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