Python module for reading configuration files in different formats
Project description
Usage
#!/usr/bin/env python3
key = 'default'
folder = '/home/pm/projects/foo/sqlite/'
connector = 'sqlite'
target = '/home/pm/projects/foo/foo.db'
if __name__ == '__main__':
from configurator.convertor import convertor
convertor(__file__, debug=True)
convertor(__file__, 'python', 'pickle', debug=True)
convertor(__file__, 'python', 'python', debug=True)
Changelog
0.3 (2016 Nov 22)
modify the source code by pep8
sort json.dump file
add extension parameter
0.2 (2015 Jan 16)
create ‘configurator’ package
fix: json.dump
add testing files
0.1 (2014 Jan 21)
initial release with support for: json, pickle and python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-configurator-0.3.tar.gz
(17.4 kB
view details)
File details
Details for the file python-configurator-0.3.tar.gz
.
File metadata
- Download URL: python-configurator-0.3.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 977b47803e6b6cb0cda61247b02d591603db0c6887a97457eacda6981fc0e04b |
|
MD5 | 2a947c66442ab520f6051b759a2124d4 |
|
BLAKE2b-256 | 867cca2b38ee340a08f7635af45830afadb48002c1f1996f712aa7dd641f7296 |