Yamz

Latest version: v0.2.2

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.0a1

0.3.0alpha

Experimental release
disclaimer: use at your own risk

- experimental cli support for reading configuration files
- experimental write support for JsonProvider


bash
yamz read --key MYVAR --environment production read

yamz write --key MYVAR --data MYVALUE --environment production --provider yamz.providers.default.JsonProvider

0.2.2

JsonProvider` can be used in place of `YamlProvider`, as it requires no additional dependencies to be installed (PyYAML), which makes adding Yamz to your codebase less, um... icky.

python
from yamz.providers.default import JsonProvider

0.2.1

providers can implement `get_data` which yamz calls here:
python
property
def data(self):
return self._provider.get_data()


this allows a provider to expose all of its settings at once

0.2.0

Rewrite of Yamz to make it more flexible by introducing the concept of providers. Still fleshing this out but it does the job for now.

0.1.6

This is already on PyPi, I'm just testing the github action.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.