by toastdriven

toastdriven / itty

The itty-bitty Python web framework.

410 Stars 48 Forks Last release: Not found Other 74 Commits 7 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


The itty-bitty Python web framework.
is a little experiment, an attempt at a Sinatra_ influenced micro-framework that does just enough to be useful and nothing more.

Currently supports:

  • Routing
  • Basic responses
  • Content-types
  • HTTP Status codes
  • URL Parameters
  • Basic GET/POST/PUT/DELETE support
  • User-definable error handlers
  • Redirect support
  • File uploads
  • Header support
  • Static media serving

Beware! If you're looking for a proven, enterprise-ready framework, you're in the wrong place. But it sure is a lot of fun.

.. _Sinatra:



from itty import get, run_itty

@get('/') def index(request): return 'Hello World!'



for more usages.

Other Sources

A couple of bits have been borrowed from other sources:

  • Django

  • Armin Ronacher's blog (

    • How to get started with WSGI


Thanks go out to Matt Croydon & Christian Metts for putting me up to this late at night. The joking around has become reality. :)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.