Skip to main content

abhijanfastapi

Scaffolding CLI for Abhijan FastAPI projects.

Provides the abhijan command with ten 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
  • abhijan service <name> — adds app/services/<name>.py with a CRUD service class
  • abhijan schema <name> — adds app/schemas/<name>.py with Create/Update/Response models
  • abhijan rs <name> — adds both the repository and the service

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

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

# add Pydantic schemas for an entity (writes app/schemas/<name>.py)
abhijan schema company

# add both repository and service for an entity
abhijan rs 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.9

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.9
File Size Uploaded Provenance Actions
abhijanfastapi-1.0.9.tar.gz 15.6 kB With provenance Details for abhijanfastapi-1.0.9.tar.gz

Built distribution (wheel)

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

Total release size: 33.5 kB

Release files / abhijanfastapi-1.0.9.tar.gz

Download URL abhijanfastapi-1.0.9.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f10065fb27ad60ccdfed1f4a7cc8f4a6cda4360871af4b84aa97bd33b95decee
BLAKE2b-256 checksum
How to use checksums
416c540826b002b2ffa222b9770bb5887a7aedcaa159c43ef89329f2c733bae2
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.9-py3-none-any.whl

Download URL abhijanfastapi-1.0.9-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fd3b3dd2becef0303a22208e8dee4e24352d903b94efe259d073f0c4c8858e4
BLAKE2b-256 checksum
How to use checksums
c2e7e2e363e25b3bd80e0804fcc0cdd09da908852866c680719424f2d42a9699
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.9

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