Skip to main content

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

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


Download files

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

Files for yact, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size yact-0.1.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

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