Skip to main content

Monorepo for fastapi-doctor

Project description

How to Run Against Your FastAPI Project

  1. First clone the repo.
  2. Go the project root and run command uv sync
  3. run the following commands at the project root:
python -m fastapi_doctor.cli fastapi_project_path_that_you_want_scan

- Full scan
python3 -m fastapi_doctor.cli /path/to/your/fastapi-project
- With file locations
python3 -m fastapi_doctor.cli /path/to/your/fastapi-project --verbose
- Score only
python3 -m fastapi_doctor.cli /path/to/your/fastapi-project --score

SKILL.md

---
name: fastapi-therapist
description: Use when finishing a feature, fixing a bug, before committing FastAPI code.
version: "1.0.0"
---

# FastAPI Therapist

Scans FastAPI codebases for security, performance, correctness, and architecture issues. Outputs a 0–100 health score.

## Setup

```bash
pip install fastapi-therapist

After making FastAPI code changes:

Run fastapi-therapist . --verbose and check the score did not regress.

If the score dropped, fix the regressions before committing.

For general cleanup or code improvement:

Run fastapi-therapist . --verbose to scan the full codebase. Fix issues by severity — errors first, then warnings.

Command

fastapi-therapist . --verbose
Flag Purpose
. Scan current directory
--verbose Show affected files and line numbers per rule
--score Output only the numeric score

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_doctor_workspace-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

fastapi_doctor_workspace-0.1.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_doctor_workspace-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fastapi_doctor_workspace-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3a7fb1e96dc3ed913217ec7bb2ba8c91ea8b5e26625cdc9ac94865c20a0145d9
MD5 237c7de2fc0b7566cbb1baa4f78f8977
BLAKE2b-256 74637c091e09127ffd48f305777aa9b08ccab7d40db1ed3b8e60bf604a30b150

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastapi_doctor_workspace-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fastapi_doctor_workspace-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f95b12b75b8e16cfdf740fd994c5ff959668d2f094830091e2137b1ee445fe37
MD5 c5f602610136e08352c34811686e8a95
BLAKE2b-256 80f9dc86be582d2f59cfc26d490d81b7320369a07519c78f17b6c0b33c0e385b

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