A tiny WSGI web framework
Project description
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bustard-0.1.3.tar.gz
(21.4 kB
view details)
Built Distribution
bustard-0.1.3-py3-none-any.whl
(26.9 kB
view details)
File details
Details for the file bustard-0.1.3.tar.gz
.
File metadata
- Download URL: bustard-0.1.3.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa62966ef06b6881f6fbc0e25ced837de3824c1789d4af3dc2b0a9d77da2ddf8 |
|
MD5 | 3ebf7a4a49b90638ec7c286994521ce5 |
|
BLAKE2b-256 | 2c540ad064b84d3adfa92ac45565336044456e08f6c8bbea2a88d1411ed909c3 |
File details
Details for the file bustard-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: bustard-0.1.3-py3-none-any.whl
- Upload date:
- Size: 26.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9c2f68b7996280ddc484aa3d127c289dfcd76639dd07850208117c4854706ac |
|
MD5 | 3ec94b21929f9c5339c0db758f29cbf3 |
|
BLAKE2b-256 | a61c20b834db8f08019ae681dcc5d0f275df2f2d3328b8af58dfe444ec5e3e69 |