============
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
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
Release files for yact 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yact-0.5.1.tar.gz | 4.4 kB | Details |
Release files / yact-0.5.1.tar.gz
| Download URL | yact-0.5.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75986ac2878f876f1bfabcd69381202b0bd78b440e4b075f23ab8be2853cd048
|
|
BLAKE2b-256 checksum How to use checksums |
471add5fe8547c9cc6d1f9017ebef644ed683a354cfbc354da684e19237afc76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |