1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
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:
Django
HTTP_MAPPINGS
Armin Ronacher’s blog (http://lucumr.pocoo.org/2007/5/21/getting-started-with-wsgi)
How to get started with WSGI
Thanks
Thanks go out to Matt Croydon & Christian Metts for putting me up to this late at night. The joking around has become reality. :)
Metadata
Release files for itty 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| itty-0.6.0.tar.gz | 5.8 kB | Details |
Release files / itty-0.6.0.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | itty-0.6.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c96d5623abac39f10386521844cd4ab7577243ffce794db470eafc11f1afb24b
|
|
BLAKE2b-256 checksum How to use checksums |
4bf373487ac7baaf49ea02c93f19fe0a279713eec47116e3d329b5e8b165803b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |