Skip to main content

AA FastAPI Template

A robust and sensible baseline for kick-starting any new FastAPI application. This template provides a comprehensive setup for developing high-performance web applications with FastAPI, including optional, opinionated development and testing dependencies to enhance your development workflow.

As of v0.15.10 all dependencies are pinned. Testing and build quality are still a work in progress though. For now everything should work but please check the Contributing section below if you find issues.

This package isn't really intended to be used in the same environment as other projects. Since the dependencies here are pinned care should be taken to avoid version conflicts pulled in for other packages.

Prerequisites

  • Python 3.10 or higher
  • pip (Python package installer)

Usage

# Using pip:
pip install aa-fastapi-template

# tests
pip install aa-fastapi-template[tests]

# dev
pip install aa-fastapi-template[dev]

The base package provides the essential tools for creating FastAPI applications.

While [tests] adds testing libraries, the [dev] option installs both the testing and development tools.

Package Options

Included within each package are:

aa-fastapi-template aa-fastapi-template[tests] aa-fastapi-template[dev]
asyncpg + aa-fastapi-template + aa-fastapi-template[tests]
environs hypothesis black
fastapi pytest httpx
mypy pytest-cov isort
psycopg2-binary pytest-emoji ruff
pydantic pytest-md types
python-dotenv pytest-mock types-toml
sqlalchemy pytest-xdist
sqlmodel tox
uvicorn

Contributing

We welcome contributions to the AA FastAPI Template! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

  • Issues: Use the GitHub Issues page
  • Pull Requests: Submit pull requests with your changes/fixes.

Metadata

Release files for aa-fastapi-template 0.25.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 aa-fastapi-template 0.25.0
File Size Uploaded Provenance
aa_fastapi_template-0.25.0.tar.gz 5.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aa-fastapi-template 0.25.0
File Interpreter ABI Platform
aa_fastapi_template-0.25.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / aa_fastapi_template-0.25.0.tar.gz

Download URL aa_fastapi_template-0.25.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bd52106c264d640a516528f5d20e48e3a250b3666331b3fe3c8b93afed8c9c55
BLAKE2b-256 checksum
How to use checksums
13dc3bbcbe37ac9dd3bad110fba7132cd98488766cb1389e71f55a440ca1a041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release files / aa_fastapi_template-0.25.0-py3-none-any.whl

Download URL aa_fastapi_template-0.25.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6f4e9f6921a4b5ed8db5a64a3c90bb117af0f5187759c6532bcd0779eec080b
BLAKE2b-256 checksum
How to use checksums
ec3b1cb700ca0dcab7c3803c906ba2627e45b01b50d239fd38eaafdb037629b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Security for aa-fastapi-template 0.25.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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