Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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


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)
  • Bottle (embedding a simple template engine)
  • Jinja2 and Mako (common template engine syntax and features)
Build status

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
fiole-0.2.tar.gz (14.3 kB) Copy SHA256 hash SHA256 Source None May 22, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page