Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Lib to dump environment variables into a configuration file

Project description

Latest Version Latest version

A binary to dump environment into a file (Tested on python 2.7 & 3.5)


First, install cdumay-env2cfgfile using pip:

pip install -U cdumay-env2cfgfile


The given example dump all environment QT variables in a json file:

$ ./env2cfg --prefix '^QT_' json /tmp/myenv.json
$ cat /tmp/myenv.json
    "QT_IM_MODULE": "",
    "QT_STYLE_OVERRIDE": "gtk"


prefix expression are regular expression.


MIT License

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cdumay-env2cfgfile-0.0.2.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None Nov 3, 2017

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