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 hashes)