Skip to main content

Loads a yml defined configuration

Project description

==========================
tzf.pyramid_yml README
==========================

.. image:: https://img.shields.io/pypi/v/tzf.pyramid_yml.svg
:target: https://pypi.python.org/pypi/tzf.pyramid_yml/
:alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/tzf.pyramid_yml.svg
:target: https://pypi.python.org/pypi/tzf.pyramid_yml/
:alt: Number of PyPI downloads

.. image:: https://img.shields.io/pypi/wheel/tzf.pyramid_yml.svg
:target: https://pypi.python.org/pypi/tzf.pyramid_yml/
:alt: Wheel Status

.. image:: https://pypip.in/egg/tzf.pyramid_yml/badge.png
:target: https://pypi.python.org/pypi/tzf.pyramid_yml/
:alt: Egg Status

.. image:: https://img.shields.io/pypi/l/tzf.pyramid_yml.svg
:target: https://pypi.python.org/pypi/tzf.pyramid_yml/
:alt: License

Package status
--------------

.. image:: https://travis-ci.org/fizyk/pyramid_yml.png?branch=master
:target: https://travis-ci.org/fizyk/pyramid_yml
:alt: Tests

.. image:: https://coveralls.io/repos/fizyk/pyramid_yml/badge.png?branch=master
:target: https://coveralls.io/r/fizyk/pyramid_yml?branch=master
:alt: Coverage Status

.. image:: https://requires.io/github/fizyk/pyramid_yml/requirements.png?branch=master
:target: https://requires.io/github/fizyk/pyramid_yml/requirements/?branch=master
:alt: Requirements 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
=======

unrleased
-------

- [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.1
-------
-------

- 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tzf.pyramid_yml-1.1.1-py2.py3-none-any.whl (10.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page