Skip to main content

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

Metadata

Release files for too-simple-server 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for too-simple-server 0.2.5
File Interpreter ABI Platform
too_simple_server-0.2.5-py3-none-any.whl Python 3 none any Details

Release files / too_simple_server-0.2.5-py3-none-any.whl

Download URL too_simple_server-0.2.5-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1427d87d2adc5e7154af821ded3d46d654090be7ceb1f9888b233f8c94c92582
BLAKE2b-256 checksum
How to use checksums
da4c99bd1eb50e83638af5f6a8db8c7a11e49f79a9eb095188106ac341239b0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.7 Linux/4.15.0-1040-gcp

Release history Release notifications | RSS feed

This release

0.2.5 This release

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page