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

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.2
File Size Uploaded
abhijanfastapi-1.0.2.tar.gz 6.2 kB Details

Built distribution (wheel)

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

Release history Release notifications | RSS feed

1.0.4

1 release file

1.0.3

2 release files

This release

1.0.2 This release

2 release files

1.0.1

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