skip to navigation
skip to content

python-configurator 0.3

Python module for reading configuration files in different formats

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
 
File Type Py Version Uploaded on Size
python-configurator-0.3.tar.gz (md5) Source 2016-11-22 17KB