Simple web server stub for testing purposes (with a lot of dependencies)
Project description
Simple Mock Server
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size too_simple_server-0.2.5-py3-none-any.whl (6.6 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Close
Hashes for too_simple_server-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1427d87d2adc5e7154af821ded3d46d654090be7ceb1f9888b233f8c94c92582 |
|
MD5 | dc52e595e74d8953fc4a9a20597a2e47 |
|
BLAKE2-256 | da4c99bd1eb50e83638af5f6a8db8c7a11e49f79a9eb095188106ac341239b0d |