Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-configurator, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size python-configurator-0.3.tar.gz (17.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page