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
2.0.0
[enhancement] Drop support for python 2
[fix] Adjusted includemes for pyramid 1.10, which now marks includeme as processed even if it errored. Less ducktyping as well.
1.1.1
[fix] freeze pymlconf version at less than 1.0.0 which became incompatible with python 2.7 and is marked as python 3.6 only.
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 Distributions
Built Distribution
File details
Details for the file tzf.pyramid_yml-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: tzf.pyramid_yml-2.0.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945421986439f1d59a6df522902726eebf550ab57d177360a6a5ad33c2ffe713 |
|
MD5 | 6e1f32f728055a2922e318d1aa060320 |
|
BLAKE2b-256 | 3496904565507ec5393f3c7fbcff0b7a2e59599e4268e1114b4348ace07845c0 |