Skip to main content

Simple web server stub for testing purposes (with a lot of dependencies)

Project description

Simple Mock Server

Build Status PyPI

This is single-purpose web server having 2 endpoints:

/entities — for listing all existing entities

/entity, /entity/<uuid> — for creating and retrieving existing entities

Server can use either debug sqlite DB or PostgreSQL database

Server configuration is done with configuration yaml file:

debug: true
server_port: 5449 

pg_bd_url: 'localhost:9999'
pg_database: 'users'
pg_username: 'admin'
pg_password: 'qwertyui!'

Default location of configuration file is /etc/too-simple/config.yml, this can be changed using --config argument

Debug mode is switched using --debug argument and enabled by default

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

too_simple_server-0.2.5-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file too_simple_server-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: too_simple_server-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.7 Linux/4.15.0-1040-gcp

File hashes

Hashes for too_simple_server-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1427d87d2adc5e7154af821ded3d46d654090be7ceb1f9888b233f8c94c92582
MD5 dc52e595e74d8953fc4a9a20597a2e47
BLAKE2b-256 da4c99bd1eb50e83638af5f6a8db8c7a11e49f79a9eb095188106ac341239b0d

See more details on using hashes here.

Supported by

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