RESTful APIs With Tastypie

A session at PyCon US 2012

Saturday 10th March, 2012

2:15pm to 2:55pm (PST)

Providing full-featured REST APIs is an increasingly popular request. Tastypie allows you to easily implement a customizable REST API for your Python or Django applications.

Who am I? (Primary author of Tastypie)
A touch of philosophy

Use HTTP the best we can
Flexible serialization (not everyone wants JSON)
What you can GET should be able to be POST/PUT
Should be reasonable by default but easy to extend
URIs Everywhere!
Why Tastypie?

Works with Django
Any data source (Not just ORM)
Designed to be extensible
Supports a variety of serialization formats (JSON/XML/YAML/bplist)
URIs everywhere by default
Lots of hooks for customization
Demonstrate a simple setup

Then explore the API based on that trivial setup
Demonstrate adding authentication/authorization

Demonstrate adding custom serialization
Demonstrate adding a different data source
Demonstrate adding a custom endpoint

About the speaker

This person is speaking at this event.
Daniel Lindsley

I run Toast Driven (@toastdriven) & do all sorts of programming stuff. Don't expect too much seriousness here because I'm allergic to it. bio from Twitter

Next session in E4

2:55pm Advanced Celery by Ask Solem

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 2:15pm2:55pm PST

Date Sat 10th March 2012

Short URL


Official session page


View the schedule



See something wrong?

Report an issue with this session