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: bool = 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.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shittywebserver-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ae83aad80f565ea56ef7977da1af7bc24a72271ae3d0d9a0cb5d44041ba323b7
MD5 3b2ef307df336af03ef8f93225a07522
BLAKE2b-256 9f075b689e0d103338e87fd86973960998805a3d54aefe3dc0422353a1f0121a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shittywebserver-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f64c2c8781c9b00c2100642636284408baefee52f26e5cce3d4f610d8c0b0bb
MD5 ee24986a095c22f7235b13658bff976d
BLAKE2b-256 ecbf3af344e401b5ffd1c1c8e3c12daa6072df65864d8056318f359552028d55

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