Latest commit to the master branch
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:
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.
from itty import get, run_itty
@get('/')
def index(request):
return 'Hello World!'
run_itty()
See examples/ for more usages.
A couple of bits have been borrowed from other sources:
Thanks go out to Matt Croydon & Christian Metts for putting me up to this late at night. The joking around has become reality. :)
![[image]](http://mowser.com/img?url=https%3A%2F%2Fa248.e.akamai.net%2Fassets.github.com%2Fimages%2Fmodules%2Fajax%2Fbig_spinner_336699.gif%3F1284681402)
Headers
# This is an <h1> tag ## This is an <h2> tag ###### This is an <h6> tag
Text styles
*This text will be italic* _This will also be italic_ **This text will be bold** __This will also be bold__ *You **can** combine them*
Unordered
* Item 1 * Item 2 * Item 2a * Item 2b
Ordered
1. Item 1 2. Item 2 3. Item 3 * Item 3a * Item 3b
Images
 Format: 
Links
http://github.com - automatic! [GitHub](http://github.com)
Blockquotes
As Kanye West said: > We're living the future so > the present is our past.
Syntax highlighting with GFM
```javascript
function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
}
}
```
Or, indent your code 4 spaces
Here is a Python code example
without syntax highlighting:
def foo:
if not bar:
return true
Inline code for comments
I think you should use an `<addr>` element here instead.
You are viewing a mobilized version of this site...
View original page here