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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shittywebserver-0.0.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for shittywebserver-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d797bdfc2d4e1533c5c4bb5effb0aadc96ba35ce94f81ac931d39f43fc3940cb
MD5 e7e1348f23b868081170f8338a42b1cd
BLAKE2b-256 cbd9754219c056d24d8f6ca0a549267374bda6a1d47abdfa185b2c65f9021354

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shittywebserver-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ff445cef943f6948995bb9b50c830dab25884bee01ada526cc4c3a5156e1d54
MD5 589e0f732431a3e411fbf863869c7621
BLAKE2b-256 30b9e238a0796c12f9872952b796d0751fd13ad351c4af77456355e182d61358

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