Spin up webserver from a yaml config file
Project description
mappi
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.5.0.tar.gz
(7.2 kB
view hashes)
Built Distribution
mappi-0.5.0-py3-none-any.whl
(8.6 kB
view hashes)