Skip to main content

abhijanfastapi

Scaffolding CLI for Abhijan FastAPI projects.

Provides the abhijan command with seven subcommands:

  • abhijan init — creates main.py, config.py, database.py, requirements.txt, .env.example
  • abhijan alembic — creates alembic/env.py with the async migration config
  • abhijan storage — adds storage.py and patches config.py with upload settings
  • abhijan redis — adds redis.py and appends redis to requirements.txt
  • abhijan jwt — adds src/auth/security.py, JWT settings to config.py, and pyjwt to requirements.txt
  • abhijan test — adds pytest.ini, tests/config.py, an example test, and pytest deps
  • abhijan repository <name> — adds app/repositories/<name>.py with a CRUD repository class

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

# add redis support (writes redis.py + appends redis to requirements.txt)
abhijan redis

# add JWT support (writes src/auth/security.py, patches config.py, adds pyjwt)
abhijan jwt

# add pytest setup (writes pytest.ini, tests/config.py, an example test)
abhijan test

# add a repository for an entity (writes app/repositories/<name>.py)
abhijan repository company

# (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.8

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.8
File Size Uploaded Provenance Actions
abhijanfastapi-1.0.8.tar.gz 14.2 kB With provenance Details for abhijanfastapi-1.0.8.tar.gz

Built distribution (wheel)

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

Total release size: 30.4 kB

Release files / abhijanfastapi-1.0.8.tar.gz

Download URL abhijanfastapi-1.0.8.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
169370790b784593848b2bcc8f334d41d5567e29fb84873ca67c87edd726fe9c
BLAKE2b-256 checksum
How to use checksums
286bd4d72df549f4088ddd4daa2f1ce3af28eb06c2b76e4782c0cbfbd2282668
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / abhijanfastapi-1.0.8-py3-none-any.whl

Download URL abhijanfastapi-1.0.8-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50c50e03c4fdee934632d698f1bc202d1fb2ce61041f0fc7694a6a8322a29cc2
BLAKE2b-256 checksum
How to use checksums
a2f1faeda7d2331a0a89a3e25503bc0f54e95a560f227206a9ccb7445541810e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for abhijanfastapi 1.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for abhijanfastapi-1.0.8.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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