Skip to main content

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"


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.

Source Distribution

cdumay-env2cfgfile-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page