An environment manager for Flask, with support for whitelists and AWS SSM.
Project description
Flask Environment Manager
Installation
Install and update using pip
:
pip install -U flask-environment-manager
Developing
The build pipeline requires your tests to pass and code to be formatted
Make sure you have Python 3.x installed on your machine (use pyenv).
Install the dependencies with pipenv (making sure to include dev and pre-release packages):
pipenv install --dev --pre
Configure your environment:
pipenv shell && export PYTHONPATH="$PWD"
Run the tests:
pytest
Or with logging:
pytest -s
Or tests with coverage:
pytest --cov=./
Format the code with Black:
black $PWD
Releases
Cleanup the (.gitignored) dist
folder (if you have one):
rm -rf dist
Notch up the version number in setup.py
and build:
python3 setup.py sdist bdist_wheel
Push to PyPi (using the ScholarPack credentials when prompted)
python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
Links
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
Built Distribution
Close
Hashes for flask-environment-manager-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6bf6e745da3ca8a796992ae34765ba319c4788f0db6f4b5b860507ae11d7689 |
|
MD5 | 4a34498ceef9b222a0fd69fe9df7e36c |
|
BLAKE2b-256 | 9df1d316e0f59419853d222763a456968700a2c019d0631de569669b473c47aa |
Close
Hashes for flask_environment_manager-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5e8068bd17273cdd02d2be4e5418663693f7e14a21aa6fbca1875cacbb3c2a7 |
|
MD5 | 22b229afed0d7e582e6f15fa9b064272 |
|
BLAKE2b-256 | 7480879eca653225d44c22cfe72ce93c5d9191e1623089c07591afa667939d8d |