Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A tiny WSGI web framework

Project description

Join the chat at https://gitter.im/mozillazg/bustard

Build Coverage PyPI version

A tiny WSGI web framework.

features

  • router
  • orm
  • request and response
  • cookies and session
  • template engine
  • wsgi server

install

pip install bustard
pip install psycopg2      # if you need orm feature

Getting Started

from bustard.app import Bustard

app = Bustard()


@app.route('/')
def helloword(request):
    return 'hello world'

if __name__ == '__main__':
    app.run()

Just save it as hello.py and run it

$ python hello.py
WSGIServer: Serving HTTP on ('127.0.0.1', 5000) ...

Now visit http://localhost:5000, and you should see hello world.

Project details


Release history Release notifications

This version
History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.1

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
bustard-0.1.6-py3-none-any.whl (26.9 kB) Copy SHA256 hash SHA256 Wheel 3.5 Mar 19, 2016
bustard-0.1.6.tar.gz (21.3 kB) Copy SHA256 hash SHA256 Source None Mar 19, 2016

Supported by

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