Loads a yml defined configuration
Project description
tzf.pyramid_yml README
Package status
tzf.pyramid_yml is a convenience package, that allows for a yml settings, that can be kept in a structured, clear way, and also extensible depending on an ‘environment’.
Documentation
Documentation can be found here: https://readthedocs.org/projects/tzfpyramid_yml/
Testing
You’ll need: packages defined in extra_requires[tests] to run tests, and then:
py.test
For detailed test report run this command:
py.test --cov-report term-missing --cov tzf.pyramid_yml tests/
CHANGES
1.1.0
all scripts functions are public
cleaned pconfig’s argument check
changed config_defaults to not have default mutable argument. It’s None instead - which gets replaced by default config.yaml and config.yml.
1.0.1
improved support for defining more than one configuration locations in ini file
1.0.0
changed tests to depend on pytest_pyramid
changed to support yaml extension by default, updated docs
0.3.0
rewrite all test to py.test
introduced License
allow to load configuration files from more than one folder
use only existing files to squash PymlConf warnings
ability to use full path to file in yml.location path
clearing some tests
0.2.0
pconfig command line tool for displaying merged yaml config
added config.config_defaults method to allow creating a default yaml configurations for pyramid packages, and easy merge into these created by tzf.pyramid_yml
0.1.0
python 3 compatibility
Include pyramid packages
filling in standard settings based on configurator: in yml configuration
0.0.1
merging two yml files int one
reading yml files
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
Built Distributions
File details
Details for the file tzf.pyramid_yml-1.1.0.tar.gz
.
File metadata
- Download URL: tzf.pyramid_yml-1.1.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b245382f0f9301a7bc232bfce836a608f4fcbea872b61a6a35debbe8cda63e7 |
|
MD5 | cc59ed77af4636fa999a3b6c6ef179af |
|
BLAKE2b-256 | 7fb0a4dff39310948495d48e8cf244db405d34aeb47fe61417d839dceab01e16 |
File details
Details for the file tzf.pyramid_yml-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: tzf.pyramid_yml-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6d11d0ae1a01644773a52ef158b6968f3b43f306addd09c82cf1a75e6b84a81 |
|
MD5 | 73454a6d759b17d8d021177b5771ec02 |
|
BLAKE2b-256 | 6a87b07eeefbc2f7da3bfcc8dabcac1cfe018c87d79410c641d471c96684a116 |
File details
Details for the file tzf.pyramid_yml-1.1.0-py2.7.egg
.
File metadata
- Download URL: tzf.pyramid_yml-1.1.0-py2.7.egg
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53fec18ed94cabe378193003334a8e0b44bfb78f895c2a51cbf5711aa25ec98b |
|
MD5 | 07551f68811c17428ba82725a7128a3b |
|
BLAKE2b-256 | 22bfcce9a1a8007bd3ce6f38d01020b81e56e8f4aaa14b0e7c3f1727e54be54a |