Skip to main content

This package provides the user with an easy to use endpoint generator, which that exposes endpoints that are defined through a config JSON file. Additionally, data files can be added and linked to return richer data.

Project description

Simple Flask Stub Server

Test package with tox

Provides the user with a Docker container, that exposes endpoints, which can be configured via json file.

Get Started with Flask

Documentation on the Flask website

Configure your server

The file endpoints.json is used to configure the server endpoints. To learn more about the format of the configuration file, please take a look at Configuring the server endpoints

Also, the samples directory shows examples on how to configure and quickly use your own endpoint server.

Development

This project uses a virtual environment for development.

More information can be found on the Flask installation website.

Testing

For testing, this project uses tox. The tox.ini configures 2 environments: lint and py39.

To only run linting, use: tox -e lint To only run the tests with pytest, use: tox -e py39

Package

View the package flask-stub-server on pypi

The package can be installed by running:

pip install flask-stub-server

To upgrade the package, use:

pip install --upgrade flask-stub-server

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

flask-stub-server-0.1.5a1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

flask_stub_server-0.1.5a1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file flask-stub-server-0.1.5a1.tar.gz.

File metadata

  • Download URL: flask-stub-server-0.1.5a1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for flask-stub-server-0.1.5a1.tar.gz
Algorithm Hash digest
SHA256 81bcb0e4ab0a8b5538f89ef3abd4570bb11e0ff37023fcd9cdb8a08d823e1a37
MD5 9b51d004617889429455487dbc01c156
BLAKE2b-256 f876e3fbdfd63789c1b9f927ebe2cbf645c615b015ccec28c6a87659f2cb4674

See more details on using hashes here.

File details

Details for the file flask_stub_server-0.1.5a1-py3-none-any.whl.

File metadata

  • Download URL: flask_stub_server-0.1.5a1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for flask_stub_server-0.1.5a1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa1bc8c2eb14d678304b389a2507ced801d8334aaae228f0ae1b8e0059f9f2be
MD5 43e8b891077b96b71d81a18780e7120c
BLAKE2b-256 305501bac6ac0b307052fb95cc6bd68987b4aa101fef916dca8fb59832f7f697

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