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)

Quickstart

First, install cdumay-env2cfgfile using pip:

pip install -U cdumay-env2cfgfile

Example

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

$ ./env2cfg --prefix '^QT_' json /tmp/myenv.json
$ cat /tmp/myenv.json
{
    "QT_ACCESSIBILITY": "1",
    "QT_IM_MODULE": "",
    "QT_LINUX_ACCESSIBILITY_ALWAYS_ON": "1",
    "QT_STYLE_OVERRIDE": "gtk"
}

License

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.2.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file cdumay-env2cfgfile-0.0.2.tar.gz.

File metadata

File hashes

Hashes for cdumay-env2cfgfile-0.0.2.tar.gz
Algorithm Hash digest
SHA256 44b0e8d27eb222d18b33fdfc4f8bd9a2d1b78f45ae9ef2a458a6625fae3f2de1
MD5 a2b2301ab4297a614751cfb1529437d5
BLAKE2b-256 04c4eb52d00a1aa32d797fc77f7e8b8b09574326c2f05f41740687635aa04896

See more details on using hashes here.

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