firstclass-dotenv-0.0.6
توضیحات
Read value of .env(dotenv) into ENV values
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | firstclass-dotenv-0.0.6 |
| نام | firstclass-dotenv |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hajime Kurita |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/hikarine3/firstclass_dotenv |
| آدرس اینترنتی | https://pypi.org/project/firstclass-dotenv/ |
| مجوز | - |
# firstclass-dotenv
dotenv package for python
# How to install
pip install firstclass_dotenv
# How to use
```
import os
from firstclass_dotenv import Dotenv
if __name__ == "__main__":
dotenv = Dotenv
# Load .env in current directory
dotenv.load()
# Load specified .env
dotenv.load(".env.test")
# print specified env value
print(os.environ["TESTENVVALUE"])
```
# Source code
You can find source code at
https://github.com/hikarine3/firstclass_dotenv
<!--
# How to test this module (This procedure is for developer of this module)
## Preparation
sudo pip install wheel;
sudo pip install twine;
## Update version
vi setup.py
## Create distribution
rm -f dist/*;
python3 setup.py sdist bdist_wheel;
## Register if you haven't
https://test.pypi.org/
## Upload to Test
python -m twine upload --repository testpypi dist/*
## Confirm
https://test.pypi.org/project/firstclass-dotenv/
## Confirm by intallation
pip install -i https://test.pypi.org/simple/ firstclass-dotenv
## Deploy to production
python -m twine upload --repository pypi dist/*
## Confirm on Page
https://pypi.org/project/firstclass-dotenv/
-->
نحوه نصب
نصب پکیج whl firstclass-dotenv-0.0.6:
pip install firstclass-dotenv-0.0.6.whl
نصب پکیج tar.gz firstclass-dotenv-0.0.6:
pip install firstclass-dotenv-0.0.6.tar.gz