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.
Metadata
Release files for environ-loader 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| environ-loader-0.0.2.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| environ_loader-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / environ-loader-0.0.2.tar.gz
| Download URL | environ-loader-0.0.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a3ca41e8dad33ab7bee56bbf1796db395e9be9f8acf2ce302f7ea1a3d86b45c
|
|
BLAKE2b-256 checksum How to use checksums |
6fcaa1c7b450967aa4c50335e510a5ee9120815ff3535e047bfd39560ce68eb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.8.5 Linux/5.15.0-46-generic
|
Release files / environ_loader-0.0.2-py3-none-any.whl
| Download URL | environ_loader-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26c35484e06a8a8ee0211220007038a15c42cd6a8b5578e9d127855cd26992cf
|
|
BLAKE2b-256 checksum How to use checksums |
7272779f39604d58359acb061e71b21714e1edc39a4538e569ccbded5b8a9065
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.8.5 Linux/5.15.0-46-generic
|