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

Uploaded Source

Built Distribution

shittywebserver-0.0.6-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shittywebserver-0.0.6.tar.gz
  • Upload date:
  • Size: 8.2 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.6.tar.gz
Algorithm Hash digest
SHA256 eb06a5571e467a188ee94815eb3abdc23895a155d07b98143d2028b8773ca57a
MD5 89d21d70990fbbc5bdccdaa0d3fe3214
BLAKE2b-256 da255d42e4901a2816735c364a701cf191fea6fe657c97bb5495f8f8250252de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shittywebserver-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ea1bd3170cd1caba44260950cde02e39c5cc151164e51bdf2db0daaf5cea2736
MD5 c1969895397cb4d23bf2d9c4dda70d69
BLAKE2b-256 63f61462ba75f0b0311b5d132e33b1d72e2a99c54b6eefc6a173d9f50001648d

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