a shitty web server
Project description
shittycorn
a very simple implementation of web server supporting WSGI compatible applications
Usage
install the package
python3 -m pip install shittycorn
in main.py:
import flask
app = flask.Flask(__name__)
@app.get('/')
def index():
return 'Hello, World!'
run the wsgi application:
python3 -m shittycorn main.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
shittycorn-0.0.11.tar.gz
(2.5 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 shittycorn-0.0.11.tar.gz.
File metadata
- Download URL: shittycorn-0.0.11.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b6e0e45d337ff7f78a8d2aef0370e53aa58750ca572fcb2263cb73687e16df8
|
|
| MD5 |
5d5c11248a7813f3dfebafe9b13a22ff
|
|
| BLAKE2b-256 |
c47b949a23e81a3886b293fc696d3df70beaa0c2f2631c28f7e3712c4fa2f20b
|
File details
Details for the file shittycorn-0.0.11-py3-none-any.whl.
File metadata
- Download URL: shittycorn-0.0.11-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b1509bee83a8c7ece84ec86d3f0f4bd6ab546d407caff7381ed2ddfb5bed029
|
|
| MD5 |
bf8691e3112beb10c26446fdd717b224
|
|
| BLAKE2b-256 |
db5adec4e6a501339aba520c6ea57eda616d941ea6ee5c257a1d4656e9b15f75
|