Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A robust and sensible baseline for kick-starting any new FastAPI application.
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.
# 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.
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 |
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.
FAQs
A robust and sensible baseline for kick-starting any new FastAPI application.
We found that aa-fastapi-template demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.