FastAPI Checker 🔍
A lightweight static analysis tool designed to inspect FastAPI applications using Python's ast module. It extracts app configurations, CORS middleware settings, and registered routers without executing the code.
🛠 Installation
The project uses uv for dependency management:
# Clone the repository
git clone https://github.com/MarkLevkovich/fastapi_checker
cd fastapi_checker
# Sync dependencies
uv sync
📖 Usage
Run the checker by providing a configuration file:
# Run via module with a config file
uv run python -m src.cli -c fa_checker.yaml
⚙️ Configuration
Create a fa_checker.yaml to define your project settings:
checker_settings:
main_file_path: "src/main.py"
Created for automated FastAPI project auditing.
NOW IN DEV!
Release files for fastapi-checker 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi_checker-0.1.1.tar.gz | 30.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_checker-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.8 kB
Release files / fastapi_checker-0.1.1.tar.gz
| Download URL | fastapi_checker-0.1.1.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c3d92aa82ffa1672f13eac361c8bca71d9c1771e6e236f0280d59446aeb5854
|
|
BLAKE2b-256 checksum How to use checksums |
aab88758889701936934a839635a3c871f955016e276f7782607996229f9017d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / fastapi_checker-0.1.1-py3-none-any.whl
| Download URL | fastapi_checker-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1fc1381f687bd89f855d75d541a886385fcaaaeca657153d71e4eac8329a039
|
|
BLAKE2b-256 checksum How to use checksums |
cbce53eeec65036abc40670adba369e1bf35130d47dc3294698c793a344387b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|