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 details)
Built Distribution
psyc-0.1.0-py3-none-any.whl
(8.0 kB
view details)
File details
Details for the file psyc-0.1.0.tar.gz
.
File metadata
- Download URL: psyc-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e88661836ede3c1a5b71d0cebc0cf0cf898ff061a50c900e406ce13f8c1ab110 |
|
MD5 | 62c8139ea40b98263bc5b822423fa471 |
|
BLAKE2b-256 | 8b18484e880c7f763a7e6889d81e54b4306ac6475e499a21d3fcdd0af79fe101 |
File details
Details for the file psyc-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: psyc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6217c73df217ca954ce53e9009e0fce4d2d436cb4898500a0dc7d8df6a216c8 |
|
MD5 | ded4aaaf91786ee36558965e688df33a |
|
BLAKE2b-256 | f71e4ddb70a6521c96378c2018dab9dbf27d9f6432efe0696ed07e6c2a3eb6de |