uenv
Tiny simple .env reader.
Usage
import uenv
Why
Ever writing a Jupyter notebook and you want to use a token, where do you set it?
- write directly to the Jupyter, then it is like write secret to code. Some may git add the .ipynb file and push to GitHub
- set shell ENVIRONMENT variable, then it would need to restart the notebook every time
- read from some random file, then you may need to delete before go production.
.env file is a popular way to handle it, put the env key=value inside it and load with some library, e.g https://github.com/theskumar/python-dotenv
Why uenv?
μenv, like utorrent.
Mu .env reader, because dotenv name on PYPI is already taken, and https://github.com/theskumar/python-dotenv is a bit more full-features or more than too simple.
Install
pip install git+https://github.com/hvnsweeting/uenv
Or
TODO
pip install uenv
or open uenv.py then copy 5 lines of code.
Metadata
Release files for uenv 0.0.1
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 |
|---|---|---|---|---|
| uenv-0.0.1.tar.gz | 2.4 kB | Without provenance | Details for uenv-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uenv-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for uenv-0.0.1-py3-none-any.whl |
Total release size: 5.2 kB
Release files / uenv-0.0.1.tar.gz
| Download URL | uenv-0.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39bedd06ac9b228bfdeae76f419ed60c3af33c25dc1eacf932c6aa90d3147ebe
|
|
BLAKE2b-256 checksum How to use checksums |
e47a61952efb13512b2e7f7f074f2b188a27dde72440fc8c278c12f39f0c9c7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Release files / uenv-0.0.1-py3-none-any.whl
| Download URL | uenv-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47245ad1e088d09cd6545b1bfb579f1558ce510564303169b70a8dbc148529c4
|
|
BLAKE2b-256 checksum How to use checksums |
39d470613138a64d68e0146e676ed9ab8569b33138dd0c5fe6e960bb5ca6f488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Security for uenv 0.0.1
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.