PSYC! Parameter Store Your Config
Project description
psyc - Parameter Store Your Configs!
psyc is a Python tool for managing config files in AWS Parameter Store.
Installation for use in a different project
pip install psyc
and then add psyc
to your project's requirements.txt
file
Usage
- Create a file
.psyc.state
in the package directory containing a json in the form:
{
"config" : "name_of_config"
}
- From the package directory, show all available commands with:
psyc --help
Note: The included .psyc
file in this repo contains the namespace for this project. Change the name of the 'namespace' value in order to use for other projects.
Development
If you just want to work on the psyc
code:
- Check out the psyc repo
- Create & activate a virtualenv
- Run
pip install -e .
to install in "editable" mode. - Run
pip install -r requirements.txt
to ensure you also get the dev dependencies, like flake8 and pre-commit. - Run
pre-commit install
to install the git pre-commit linting and formatting hook
If you want to develop psyc
while testing/using in project "foo"
- Navigate to your local checkout of foo
- Activate the foo virtualenv. Note: just because foo isn't a python project doesn't mean it can't have a virtualenv.
- Run
pip install -e /path/to/your/psyc/repo
- You can now make changes to the psyc code while testing the changes in foo.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
psyc-0.1.0.tar.gz
(6.1 kB
view hashes)
Built Distribution
psyc-0.1.0-py3-none-any.whl
(8.0 kB
view hashes)