ConfigViperHandles configuration saved as JSON files | |
Download |
ConfigViper Ranking & Summary
Advertisement
- License:
- LGPL
- Price:
- FREE
- Publisher Name:
- Daniel Goncalves
- Publisher web site:
- https://bitbucket.org/danielgoncalves/
ConfigViper Tags
ConfigViper Description
ConfigViper is a set of Python modules for handling configuration files saved in JSON format. For example:from configviper import ConfigViperconf = ConfigViper()conf.set('a/b/c', 'd')And the JSON file will looks like:{ "a": { "b": { "c": "d" } }}Goals1. Simple to define default values (avoiding "defaults" everywhere);2. Simple to write converters between Python and JSON types (even for complex Python types);3. Human editable format (JSON is readable enough);4. Portable configuration format (JSON is portable enough);5. Easy to add configuration options without destroying existing ones;6. Accessible anywhere in the app code (avoiding singleton's boring discussions);7. Small and simple to be written by me (so anyone can use/contribute and/or point my faults).More DocumentationFor usage example and more information, please refer to the documentation, available in the doc directory. There's also a built documentation set packaged and available for download at downloads page.Product's homepage
ConfigViper Related Software