qmetrics.net

Django Tastypie

REST-style API framework for Django

Django Tastypie screenshot

Exposes Django models through a customizable REST interface with serialization, relations, and standard HTTP verbs.

Overview

Tastypie is a webservice API framework for Django that helps you create REST-style interfaces over your data. It aims to make exposing models straightforward while leaving control over what is published and how non-ORM sources are wired in.

A typical setup defines ModelResource classes, registers them on an Api object, and mounts URLs under an api prefix. The result supports read and write operations across CRUD-style endpoints with JSON, XML, and YAML serialization, HATEOAS-style links by default, and room to add authentication, caching, and related data.

It suits teams that want HTTP-oriented APIs with deep relations, serializers handled by the framework, and equal treatment of XML alongside JSON. It installs via pip, adds tastypie to INSTALLED_APPS, and integrates with third-party Django apps without modifying their source.

It has been used in production while still marked beta, and offers mailing list and IRC channels for support questions.

Key features

  • GET POST PUT DELETE PATCH support
  • ModelResource and Api registration
  • JSON, XML, YAML serialization
  • HATEOAS links by default
  • Deep relation support
  • Non-ORM data source hooks
  • Designed for extension
  • Third-party Django app compatibility

Use cases

  • REST APIs over Django models
  • Mobile or SPA backends on Django
  • Multi-format API responses
  • Exposing related model graphs

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT