Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Yet Another Config Tool

Project description

============
YACT - Yet Another Config tool
============
Simple configuration handling for Python applications.
------------------------------------------------------
.. image :: https://travis-ci.org/dreadpirate15/yact.svg?branch=master
:target: https://travis-ci.org/dreadpirate15/yact

.. image :: https://coveralls.io/repos/github/dreadpirate15/yact/badge.svg?branch=master
:target: https://coveralls.io/github/dreadpirate15/yact?branch=master

YACT is a simple, lightweight, and flexible configuration package for Python applications.
It's designed to be as easy as possible to setup configuration for your project without needing to
jump through hoops.

Examples
========

**Basic usage:**

::

import yact
config = yact.from_file('sample.conf')
isinstance(config, yact.Config)
>>> True

**Modifying and saving:**

::

config.set('foo', 'bar')
print(config['foo'])
>>> 'bar'
config.save()

**Dot notation for nested configs:**

::

config.set('this.is.nested', True)
print(config.get('this')['is']['nested'])
>>> True

Project details


Release history Release notifications

This version
History Node

0.5.1

History Node

0.4.1

History Node

0.4.0

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

History Node

0.0.3

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
yact-0.5.1.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Oct 26, 2016

Supported by

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