Skip to main content

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

OpenAPI Doc

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

shittywebserver-0.0.8.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

shittywebserver-0.0.8-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

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