Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webhost-0.0.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

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

Hashes for webhost-0.0.1.tar.gz
Algorithm Hash digest
SHA256 62a1643a7fd17e6d055ee21bf01799e6841983ea21b1f034190974b0ed326b52
MD5 6ab4751de764750e261a9481820ae901
BLAKE2b-256 78c931bdd97b6b12960324f3b1fab7bf11b2288a623ae1aef8a5fe12722d3271

See more details on using hashes here.

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

Hashes for webhost-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82711ac64de8a7d374981a4b9e361fe77eb339562e8c111d0756ddb28d9587b4
MD5 f5bc5cdeae30c9999b47830b170b3ba7
BLAKE2b-256 ffe548c9c25e82d633394b5fa3b2b0a21e754aedc3288c8b8400615cb0b06e1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page