Skip to main content

Environ Loader

Project description

Environ Loader

A module for loading environment variables from various sources, like Windows .bat files and Bash .sh files.

Sometimes when writing a Python script, you want to load environment variables are defined in a text file. For example, when running Conan with the virtualenv generator, Conan will generate shell files for Windows and Linux that contain variables like PATH that are configured to use the library/tool. So, if you are installing a tool that the script uses with Conan, then you will have to load the environment variables before calling the tool. This is actually the original motivation for the module.

It is not very sophisticated yet, only simple variable declarations are supported right now (for examples, Bash's $VAR style variable expansion is not supported, only ${VAR}).

Features

  • TODO

Requirements

  • TODO

Installation

You can install Environ Loader via [pip] from [PyPI]:

$ pip install environ-loader

License

Distributed under the terms of the [MIT license][license], Environ Loader is free and open source software.

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

environ-loader-0.0.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

environ_loader-0.0.2-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

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