Python libraries to assist with writing Linux Ops scripts.
This library currently requires compatibility with:
- 2.6
- 2.7
- 3.4
However, additional versions are tested automatically:
Each module is versioned so that they can undergo significant changes without impacting the function and stability of the scripts that use them.
For example:
from opscripts.config import v5 as ops_config from opscripts.logging import v2 as ops_logging from opscripts.utils import v4 as ops_utils
For a more in-depth examples, see the:
opscripts.config
opscripts.yaml
- PyYAML
- ordereddict (only required by Python 2.6)
- Unit Tests
Change directory into repository (into same directory as where this README resides).
Install virtual environment:
mkvirtualenv -a . -r tests/requirements.txt opscripts_test
Run pytest:
py.test