Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Is a configuration management tool

Project Description

ConfigTree

Configuration files behave like cancer tumor. As soon as one is created with a handful of parameters, it starts to grow. And in a couple of month it becomes huge hardly supportable monster with dozens of parameters, which affects on different subsystems of the project like metastasis.

The goal of ConfigTree project is to restrain the monster, but without overkill for small projects. It can be used in Python programs as well as in programs written in other languages.

ConfigTree will be useful for you, if you want to:

  • keep default configuration options and environment-specific ones separated;
  • fine-tune files to load for each environment;
  • validate configuration;
  • have templates and automation in your configuration files.

The full documentation is available at Read the Docs.

Changes

0.5.3

  • Fixed bug in Walker.environment method.

0.5.2

  • Fixed bugs in ITree.rare_copy and ITree.rare_keys methods.

0.5.1

  • Fixed bugs in Loader class.

0.5

  • Added abstract base class ITree to unify type checking;
  • Fixed pop method of Tree and BranchProxy;
  • Added rare_copy method into Tree and BranchProxy;
  • Unified rarefy function, it now handles any mapping object.

0.4

  • Dropped Python 2.6 support.
  • Completely reworked loading process (see migration guide):
    • functions load, loaderconf are deprecated in favor of class Loader;
    • function make_walk is deprecated in favor of Walker;
    • function make_update is deprecated in favor of Updater;
    • module configtree.conv and its plugins (from entry point with the same name) is deprecated in favor or configtree.formatter;
    • shell command configtree is deprecated in favor of ctdump.

0.3

  • Dropped Python 3.2 support due to coverage package. The code should still work OK, but it will not be tested anymore.
  • Added loaderconf function to be able to read loader configuration from loaderconf.py module in a clean way.

0.2

  • Added copy method into Tree and BranchProxy classes.
  • Added human readable representation of BranchProxy class.
  • Added rare iterators into Tree and BranchProxy classes.
  • Added rarefy function.
  • Added rare JSON converter.

0.1

  • Initial release.
Release History

Release History

This version
History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ConfigTree-0.5.3.tar.gz (22.2 kB) Copy SHA256 Checksum SHA256 Source Sep 12, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting