Skip to main content

Spin up webserver from a yaml config file

Project description

mappi

Tests PyPI PyPI - Python Version Code style: black EditorConfig pre-commit

Installation

$ pip install mappi
$ mappi  # run server with example configuration

Usage

# generate minimal config file
$ mappi config > mappi.yml

# adjust routes as needed or create your own config
$ vim mappi.yml

# dump configuration with all the options available to a file
$ mappi config --full > mappi.yml

# start your webserver
$ mappi

# start server with configuration stored in different filename
$ mappi --config my-config-file.yml

Development

$ poetry install
$ poetry run python -m mappi

$ poetry run mappi

$ pre-commit install
$ pre-commit autoupdate

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

mappi-0.3.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

mappi-0.3.0-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

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