env-replace
Pipe commands that produce lots of output through env-replace to replace expanded environment variables
(especially prefix paths in build output) with the environment variables themselves.
Install:
python3 -m pip install env-replace
Usage:
export PREFIX="/super-long-prefix-path"
echo "cc -I$PREFIX/include -L$PREFIX/lib ..." | env-replace
reverses environment variable expansion so that the output is:
cc -I$PREFIX/include -L$PREFIX/lib ...
instead of
cc -I/super-long-prefix-path/include -L/super-long-prefix-path/lib ...
Metadata
Release files for env_replace 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| env_replace-1.1.0.tar.gz | 3.3 kB | Without provenance | Details for env_replace-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| env_replace-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for env_replace-1.1.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / env_replace-1.1.0.tar.gz
| Download URL | env_replace-1.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f7f2fac6738dde987f2fa87c20839feab67416c3f78f453ee52f5badc9c1725
|
|
BLAKE2b-256 checksum How to use checksums |
c3f9c100c54485fd42cd412fa023a551857cecf64e63bedd6370900d4a7d12d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.19.1
|
Release files / env_replace-1.1.0-py3-none-any.whl
| Download URL | env_replace-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0a00b373a9f0192a0e9482df7a1a02b1234d8acf3a5d33c3b5196b52fc17f8b
|
|
BLAKE2b-256 checksum How to use checksums |
ce17d90abaec2d1bd48aceab76aacbbcc995006ec9e42d1b91120ef8c34389a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.19.1
|
Security for env_replace 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.