Guides
GraphQL vs REST in Python
REST (via Django REST Framework) exposes fixed endpoints; GraphQL (via Strawberry) lets clients query exactly the fields they need — here’s the real trade-off
What Is the OpenAI Python Library?
The official Python client for the OpenAI API — chat completions, embeddings, streaming, and function calling — and how it fits with Instructor and Pydantic AI
Django REST Framework Explained: Building APIs on Django
What Django REST Framework actually adds to Django, a basic serializer/viewset example, and when it’s the right choice for an API
Resources
Mimic
Captures network traffic from mobile apps and generates a reusable Python client library for their APIs, without manual reverse-engineering
Django REST Framework
The standard toolkit for building Web APIs on top of Django, with serialization, auth, and browsable docs built in
HTTPX
A modern, async-capable HTTP client for Python — the natural successor to Requests with full HTTP/2 support
OpenAI Python SDK
Official Python client for the OpenAI API — supports chat completions, embeddings, assistants, streaming, and function calling with full async support
Strawberry GraphQL
Modern GraphQL library for Python using type hints and dataclasses — integrates with Django, FastAPI, and Flask with full async support
Requests Library
Simple, elegant HTTP library for making requests and working with web APIs
FastAPI
Modern web framework for building fast APIs with automatic interactive documentation