RESTing with falcon

"Lets bring our APIs to the Interwebs!"

The Problem

  • I have an API and it is awesome!
  • But how can i expose this as a web service?
  • Just learn Flask
  • Just learn Django
  • Just learn insert here
  • Just use Falcon

Falcon?

Design PhilosoPy

Falcon tries to do as little as possible while remaining highly effective.

  • Routes based on URI templates RFC

  • REST-inspired mapping of URIs to resources

  • Global, resource, and method hooks

  • Idiomatic HTTP error responses

  • Full Unicode support

  • Intuitive request and response objects

  • Works great with async libraries like gevent

  • Minimal attack surface for writing secure APIs

  • 100% code coverage with a comprehensive test suite

  • Only depends on six and mimeparse

  • Python 2.6, 2.7, 3.3, 3.4 + PyPy

RESTing with falcon

By Stefan Antoni

RESTing with falcon

A short and high level introduction into the falcon web framework for building REST APIs

  • 1,697