Skip to main content

Loads a yml defined configuration

Project description

tzf.pyramid_yml README

Latest PyPI version Number of PyPI downloads Wheel Status Egg Status License

Package status

Tests Coverage Status 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

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 Distribution

tzf.pyramid_yml-1.0.0.tar.gz (16.3 kB view hashes)

Uploaded Source

Built Distribution

tzf.pyramid_yml-1.0.0-py2.py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 2 Python 3

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