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.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.

Source Distribution

python-configurator-0.2.tar.gz (15.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page