A tiny misbehaving web API server, for testing web consuming apps.
Project description
ShittyWebserver
An tiny WebAPI that does some normal things and some weird thing for testing web consuming code.
API
Run
Python
pip install shittywebserver
from shittywebserver import run_shitty_webserver
run_shitty_webserver(
host = "0.0.0.0",
port = 8000,
run_in_subprocess = False)
Docker
docker pull registry-gl.connect.dzd-ev.de:443/dzdpythonmodules/shittywebserver:prod
docker run -p 8000:8000 registry-gl.connect.dzd-ev.de:443/dzdpythonmodules/shittywebserver:prod
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
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 shittywebserver-0.0.8.tar.gz.
File metadata
- Download URL: shittywebserver-0.0.8.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53d469c3ad05e51e7034aed079811addc25d38db86254b5a856b2c616b377f23
|
|
| MD5 |
09657535a7580928813a01af108b8935
|
|
| BLAKE2b-256 |
d31a7d760e6c68529ee1df525a789f6aa778677be4214630d55ed216f7edd7ec
|
File details
Details for the file shittywebserver-0.0.8-py3-none-any.whl.
File metadata
- Download URL: shittywebserver-0.0.8-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca6784dad7d2246e2899dd4569e39cfe5b6eceec5dd75bbdc332ca5d5571a0c1
|
|
| MD5 |
303a9adae8b2a5702df39e57596a7dd4
|
|
| BLAKE2b-256 |
b75444dd4b0acef289ed768b2815bece86f9cd8e8dc42b152135311cdbcf0dee
|