skip to navigation
skip to content

Not Logged In

itty 0.8.2

The itty-bitty Python web framework.

The itty-bitty Python web framework.

itty.py 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.

Example

from itty import get, run_itty

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

run_itty()

See examples/ for more usages.

Other Sources

A couple of bits have been borrowed from other sources:

Thanks

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

 
File Type Py Version Uploaded on Size
itty-0.8.2-py2.py3-none-any.whl (md5) Python Wheel 2.7 2013-12-03 10KB
itty-0.8.2.tar.gz (md5) Source 2013-12-03 10KB
  • Downloads (All Versions):
  • 37 downloads in the last day
  • 290 downloads in the last week
  • 1333 downloads in the last month