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.6.tar.gz
(21.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
bustard-0.1.6-py3-none-any.whl
(26.9 kB
view details)
File details
Details for the file bustard-0.1.6.tar.gz.
File metadata
- Download URL: bustard-0.1.6.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2da4b86f79d4d3e397d54e8313542aa92c8c8472fdaa368a81d50dccf3180a04
|
|
| MD5 |
6a1e29bea44def57a450972d0d249bac
|
|
| BLAKE2b-256 |
32e2bee60265f88e9c2dfa2ea19bb7457737abcdef61c0aa3691c0f76a194bc5
|
File details
Details for the file bustard-0.1.6-py3-none-any.whl.
File metadata
- Download URL: bustard-0.1.6-py3-none-any.whl
- Upload date:
- Size: 26.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ff49c2dcdcbc3a1a082b43fefc0200d9fb628e0e0bb9b44f63b8983cd2a4be0
|
|
| MD5 |
f3546a4b59d71084d1de296f3c1f49c0
|
|
| BLAKE2b-256 |
7f0ec221df55b6109196a1b9ffa6d20d0ac927f34da7e74d1983c24cc153c4a3
|