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.7.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

shittywebserver-0.0.7-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file shittywebserver-0.0.7.tar.gz.

File metadata

  • Download URL: shittywebserver-0.0.7.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

Hashes for shittywebserver-0.0.7.tar.gz
Algorithm Hash digest
SHA256 93d6232d047e4c41d521b66c34f176911ecc8bce909a16a9c05f87980275cf40
MD5 744f7016464f3177c0e1f035133290ef
BLAKE2b-256 c9bd9ee66d624ebf4e74abf800df97f512f2330c98ded7e4e6aad807379a0f84

See more details on using hashes here.

File details

Details for the file shittywebserver-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for shittywebserver-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d1d1ddf5983c0bbb2b3206da63a0a0ae95257940683bf7fa4bd1a0406ee1e891
MD5 d9d005460278eaec1793e13c9b6846fd
BLAKE2b-256 d38c06cb5a2b1f1085880a1aef62804380c54764b6ab8e5de7ae85fc33896c28

See more details on using hashes here.

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