Skip to main content
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.

Metadata

Release files for bustard 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bustard 0.1.6
File Size Uploaded
bustard-0.1.6.tar.gz 21.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bustard 0.1.6
File Interpreter ABI Platform
bustard-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 48.2 kB

Release files / bustard-0.1.6.tar.gz

Download URL bustard-0.1.6.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2da4b86f79d4d3e397d54e8313542aa92c8c8472fdaa368a81d50dccf3180a04
BLAKE2b-256 checksum
How to use checksums
32e2bee60265f88e9c2dfa2ea19bb7457737abcdef61c0aa3691c0f76a194bc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bustard-0.1.6-py3-none-any.whl

Download URL bustard-0.1.6-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ff49c2dcdcbc3a1a082b43fefc0200d9fb628e0e0bb9b44f63b8983cd2a4be0
BLAKE2b-256 checksum
How to use checksums
7f0ec221df55b6109196a1b9ffa6d20d0ac927f34da7e74d1983c24cc153c4a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page