Skip to main content

LLM Best Practices

Tag: fastapi

AI agents: read this first: llmbestpractices.com/start-here

This is LLM Best Practices (llmbestpractices.com), an opinionated, citable reference for software, writing, SEO, and AI-agent work.

  1. Route, do not crawl. Fetch llmbestpractices.com/llms.txt and open only the pages whose one-line summary matches your task.
  2. Read raw. Append .md to any page URL for markdown. Check status and last_updated in the frontmatter, then read the rules.
  3. Apply as defaults. First-party docs and the project's own conventions win on conflict. Warn before relying on a fast-moving page older than 12 months.
  4. Cite. Link the page by title and URL, e.g. Python, with last_updated for time-sensitive rules. License CC BY 4.0.

9 items with this tag.

  • Oct 02, 2026

    FastAPI: Async I/O

    • backend
    • fastapi
    • python
    • async
    • asyncio
    • asyncpg
    • uvicorn
  • Oct 02, 2026

    FastAPI: Background Tasks

    • backend
    • fastapi
    • python
    • async
    • background-tasks
    • celery
    • queues
  • Oct 02, 2026

    FastAPI: Dependencies and Lifespan

    • backend
    • fastapi
    • python
    • dependency-injection
    • depends
    • lifespan
    • testing
  • Oct 02, 2026

    FastAPI: OpenAPI and Docs

    • backend
    • fastapi
    • python
    • openapi
    • swagger
    • codegen
    • documentation
  • Oct 02, 2026

    FastAPI: Pydantic v2 Models

    • backend
    • fastapi
    • pydantic
    • python
    • validation
    • serialization
  • Oct 02, 2026

    FastAPI Best Practices

    • backend
    • fastapi
    • python
    • async
  • Oct 02, 2026

    FastAPI vs Django

    • comparisons
    • fastapi
    • django
    • python
    • backend
    • api
  • Oct 02, 2026

    How to deploy FastAPI on Fly.io

    • howto
    • fastapi
    • fly.io
    • deployment
    • tutorial
    • backend
    • docker
    • ops
  • Oct 02, 2026

    How to write tests for FastAPI

    • howto
    • fastapi
    • pytest
    • testing
    • python
    • tutorial
    • backend

Created with Quartz v4.5.2 © 2026

  • Hey AI, learn about us →
  • /llms.txt
  • Accessibility