Skip to content
Projects

mozillazg/bustard has 44 GitHub stars and 2 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-14 22:08 UTC. Last push 2016-03-28.

How these counts are measured

What you can do

  • request and response
  • cookies and session
  • template engine

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

A tiny WSGI web framework

Web & Apps

README.md

Original

bustard

.. image:: https://badges.gitter.im/mozillazg/bustard.svg :alt: Join the chat at https://gitter.im/mozillazg/bustard :target: https://gitter.im/mozillazg/bustard?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

|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.

.. |Build| image:: https://img.shields.io/travis/mozillazg/bustard/master.svg :target: https://travis-ci.org/mozillazg/bustard .. |Coverage| image:: https://img.shields.io/coveralls/mozillazg/bustard/master.svg :target: https://coveralls.io/r/mozillazg/bustard .. |PyPI version| image:: https://img.shields.io/pypi/v/bustard.svg :target: https://pypi.python.org/pypi/bustard