A libray to write .env files
Project description
Install
pip install pydotenv
Usage
env = pydotenv.Environment() env['MY_VARIABLE'] = 'some-value' Check if file exists: pass `check_file_exists=True` to get an exception if the file does not exist. By default(`False`) the file is created.
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
pydotenv-0.0.7.tar.gz
(2.0 kB
view details)
File details
Details for the file pydotenv-0.0.7.tar.gz
.
File metadata
- Download URL: pydotenv-0.0.7.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6d78d3a7ed5124d7836bc1beeadd855dab4e2fdbea9338e6ff61dc1e46829f |
|
MD5 | b198a1f3d7b37c091f6fff179b6d48e4 |
|
BLAKE2b-256 | 0a3ae591d413b1258daee35900a4e1f41a887c7500ea0e9423ccbe40ae81a635 |