Skip to main content

FA Checker -> a static analysis tool for FastAPI applications

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_checker-0.1.1.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_checker-0.1.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_checker-0.1.1.tar.gz.

File metadata

  • Download URL: fastapi_checker-0.1.1.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for fastapi_checker-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4c3d92aa82ffa1672f13eac361c8bca71d9c1771e6e236f0280d59446aeb5854
MD5 2ed3fdcdb6880409e9bdcb5dd91a0e79
BLAKE2b-256 aab88758889701936934a839635a3c871f955016e276f7782607996229f9017d

See more details on using hashes here.

File details

Details for the file fastapi_checker-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_checker-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1fc1381f687bd89f855d75d541a886385fcaaaeca657153d71e4eac8329a039
MD5 a624db556adfc0a8af81be24cedb1a68
BLAKE2b-256 cbce53eeec65036abc40670adba369e1bf35130d47dc3294698c793a344387b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page