WEBHOST is a simple web framework made with python.
Project description
WebHost is a very basic python webframework.
Example Code:
from webhost.api import init, server
app = init()
settings = {'Http404': '404, Page not found!'} # 404 page error.
app.config(settings)
def views(app):
@app.route('/')
def home(request, response):
response.text = Hello, This is the Home page"
server.run(app)
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
webhost-0.0.1.tar.gz
(4.2 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
File details
Details for the file webhost-0.0.1.tar.gz.
File metadata
- Download URL: webhost-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62a1643a7fd17e6d055ee21bf01799e6841983ea21b1f034190974b0ed326b52
|
|
| MD5 |
6ab4751de764750e261a9481820ae901
|
|
| BLAKE2b-256 |
78c931bdd97b6b12960324f3b1fab7bf11b2288a623ae1aef8a5fe12722d3271
|
File details
Details for the file webhost-0.0.1-py3-none-any.whl.
File metadata
- Download URL: webhost-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82711ac64de8a7d374981a4b9e361fe77eb339562e8c111d0756ddb28d9587b4
|
|
| MD5 |
f5bc5cdeae30c9999b47830b170b3ba7
|
|
| BLAKE2b-256 |
ffe548c9c25e82d633394b5fa3b2b0a21e754aedc3288c8b8400615cb0b06e1c
|