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-hypernode.com/pypi/tzf.pyramid_yml/
:alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/tzf.pyramid_yml.svg
:target: https://pypi-hypernode.com/pypi/tzf.pyramid_yml/
:alt: Number of PyPI downloads

.. image:: https://img.shields.io/pypi/wheel/tzf.pyramid_yml.svg
:target: https://pypi-hypernode.com/pypi/tzf.pyramid_yml/
:alt: Wheel Status

.. image:: https://pypip.in/egg/tzf.pyramid_yml/badge.png
:target: https://pypi-hypernode.com/pypi/tzf.pyramid_yml/
:alt: Egg Status

.. image:: https://img.shields.io/pypi/l/tzf.pyramid_yml.svg
:target: https://pypi-hypernode.com/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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tzf.pyramid_yml-1.1.1-py2.py3-none-any.whl (10.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tzf.pyramid_yml-1.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: tzf.pyramid_yml-1.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for tzf.pyramid_yml-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70fe90e9fead7107499eefd9cdff163e5dc8277c08b2a928252f9ce9732fb23b
MD5 c5d7d896d4e56318e1cac83f2ccf09d6
BLAKE2b-256 3ee47c5229c97a38c450ac50e2bb6d87889ee9f7f4d5e7972c0b6d067da081a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page