Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

The handy Python web framework.

Project Description is a WSGI micro-framework with the following development constraints:

  • Single file, no external dependency
  • Provide enough features to build a web application with minimal effort
  • Embed a compact template engine
  • Keep the module reasonably small

Main features:

  • Routing
  • Error handlers
  • File uploads
  • Static files
  • Fast template engine
  • Secure cookies

Disclaimer: this framework is intentionally limited. If you need a robust and scalable solution, look elsewhere.


from fiole import get, run_fiole

def index(request):
    return 'Hello World!'


See examples/ for more usages:

python examples

Online documentation.


Thank you to Daniel Lindsley (toastdriven) for itty, the itty-bitty web framework which helped me to kick-start the project.

Thank you to Andriy Kornatskyy (akorn) for his blazingly fast and elegant template library wheezy.template: it is the inspiration for the template engine of

The following projects were also a great source of ideas:

  • Werkzeug (HTTPHeaders and EnvironHeaders datastructures)
  • WebOb (parsing the Accept headers)
  • Bottle (embedding a simple template engine)
  • Jinja2 and Mako (common template engine syntax and features)

Release History

History Node


This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(17.6 kB) Copy SHA256 Hash SHA256
Wheel 3.4 Jul 2, 2014
(17.4 kB) Copy SHA256 Hash SHA256
Source None Jul 2, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers