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.0.tar.gz (13.1 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.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi_checker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6dd31deeecbe0c43f54e969fb9bca8a78526fde5a7bd7c6f31fb8169a463ba72
MD5 9c6499f088e78d46ea929673e01ae72c
BLAKE2b-256 62e912d268c07413b34d3d7173f3d05d8d21a661eebb0e0301461654fa474191

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_checker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f7e93f594387d92134972a024a4f3b5cfb5f42c39cb0110c4d300e795e64a1b
MD5 8b3763dad30e7e1f24aeb1e24f90e9ef
BLAKE2b-256 d76ea8e1c252f2acf68ecf63eea62520b840dfe4f14c3a5931aef7ee8ac1075b

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