A bare bone webserver
Project description
How to make your first web-app
from bbwebservice import *
@register(route='/',type=MIME_TYPE.HTML)
def main_page():
return load_file('/content/index.html')
@register(route='/main.css',type=MIME_TYPE.CSS)
def main_css():
return load_file('/content/main.css')
start()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bbwebservice-0.0.1.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for bbwebservice-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4516cc9851aa64b94d7b9fd8eb0d1d32066f50a0ed61ebb18fb8ec0866d442cc |
|
MD5 | 240af6183e28643555c55b8f40511639 |
|
BLAKE2b-256 | ea8314ac1b2003fd349d52bf1bd94fc537bcd44c9527ce1aebc65e6b3eb92190 |