itt

itty

The itty-bitty Python web framework.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

410

Maintenance

Last Commit

8yrs ago

Contributors

4

Package

Dependencies

0

License

BSD

Categories

Readme

=======

itty.py

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.

.. _Sinatra: http://sinatrarb.com/

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. :)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial