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.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1427d87d2adc5e7154af821ded3d46d654090be7ceb1f9888b233f8c94c92582 |
|
MD5 | dc52e595e74d8953fc4a9a20597a2e47 |
|
BLAKE2b-256 | da4c99bd1eb50e83638af5f6a8db8c7a11e49f79a9eb095188106ac341239b0d |