Lightlines
By jiatastic

python-backend

jiatastic2.2k installs

Practical patterns for cleaner Python backends.

What it does

Improve Python backend code with patterns for APIs, authentication, databases, caching, and code quality.

When to use it

Use when building FastAPI APIs, implementing authentication, setting up async databases, adding caching or rate limiting, refactoring Python, or designing APIs.

How to use it

It changes how the agent develops Python backends through async I/O, typed validation, dependency injection, early validation, and secure input handling.

What you provide

  • An existing project

Latest review

What you need · 4

The backend patterns are written for Python; no runtime version is specified.

Uses Ruff to lint, automatically fix, and format the project's source code.

The instructed async test setup uses pytest fixtures and async test markers.

The instructed async test setup uses HTTPX's AsyncClient and ASGITransport.


Access · 0

No additional actions listed.