Damn Simple Environ Vars
Project description
dsenv
Damn Simple Environment Variables loader.
Install
pip install dsenv
Usage
from dsenv import load_env
# Load from ~/.env
load_env()
# Load from a custom path
load_env("./.env", override=False)
Supported .env Syntax
KEY=VALUEexport KEY=VALUEKEY="VALUE"orKEY='VALUE'- Comments with
#on empty lines or after unquoted values
Tests
pytest
Or use tox (if you have multiple Python versions installed):
tox
License
BSD-3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dsenv-0.1.1.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
dsenv-0.1.1-py3-none-any.whl
(3.5 kB
view details)
File details
Details for the file dsenv-0.1.1.tar.gz.
File metadata
- Download URL: dsenv-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90b021d7e5a7e09afd1cb0069c86c114573e49f165cdb0bc51940607a95f94e1
|
|
| MD5 |
39eb3c359a2efbe8e184642fb4fc776a
|
|
| BLAKE2b-256 |
34f313895f2c2e960a7f412bf08980a0e44bd1b3a7f302fb5d4e1fd2490c07b0
|
File details
Details for the file dsenv-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dsenv-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9c0c78a2d47ad9db84b4e75a01a27362feb0eb893836d6991916f2653cb1cd7
|
|
| MD5 |
0075d8449309952927872735cc36ff81
|
|
| BLAKE2b-256 |
37bd4b83e29ccc2db4ade1084970a17ec20867e8a3b7103c935c6d77443c7723
|