autoread-dotenv-1.0.2
توضیحات
Automatically set env-vars at the beginning of every python-process in your in-project virtualenv.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | autoread-dotenv-1.0.2 |
| نام | autoread-dotenv |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | ['Wouter Vanden Hove'] |
| ایمیل نگهدارنده | ['wouter@libranet.eu'] |
| نویسنده | Wouter Vanden Hove |
| ایمیل نویسنده | wouter@libranet.eu |
| آدرس صفحه اصلی | https://github.com/libranet/autoread-dotenv |
| آدرس اینترنتی | https://pypi.org/project/autoread-dotenv/ |
| مجوز | MIT |
[](https://github.com/libranet/autoread-dotenv/actions/workflows/testing.yaml)
[](https://github.com/libranet/autoread-dotenv/actions/workflows/linting.yaml)
[](https://autoread-dotenv.readthedocs.io/en/latest/)
[](https://codecov.io/gh/libranet/autoread-dotenv)
[](https://pypi.org/project/autoread-dotenv/)
[](https://github.com/libranet/autoread-dotenv/blob/main/docs/license.md)
## Installation
Install via pip:
```bash
> bin/pip install autoread-dotenv
```
Or add to your poetry-based project:
```bash
> poetry add autoread-dotenv
```
## Usage
The only thing left to do for you is the create a ``.env`` in the root of your project.
## Registered sitecustomize-entrypoint
The ``autoread_dotenv.entrypoint``-function is registered as a ``sitecustomize``-entrypoint in our pyproject.toml_:
``` toml
[tool.poetry.plugins]
[tool.poetry.plugins."sitecustomize"]
autoread_dotenv = "autoread_dotenv:entrypoint"
```
Sitecustomize and all its registered entrypoints will be executed at the start of *every* python-process.
For more information, please see [sitecustomize-entrypoints](http://pypi.python.org/pypi/sitecustomize-entrypoints)
## Compatibility
[](https://pypi.org/project/autoread-dotenv/)
[](https://pypi.org/project/autoread-dotenv/)
``autoread-dotenv`` works on Python 3.8+, including PyPy3. Tested until Python 3.11,
## Notable dependencies
- [sitecustomize-entrypoints](http://pypi.python.org/pypi/sitecustomize-entrypoints)
- [python-dotenv](http://pypi.python.org/pypi/python-dotenv)
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0.0 | python-dotenv |
| >=1.1.0 | sitecustomize-entrypoints |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.0 | Python |
نحوه نصب
نصب پکیج whl autoread-dotenv-1.0.2:
pip install autoread-dotenv-1.0.2.whl
نصب پکیج tar.gz autoread-dotenv-1.0.2:
pip install autoread-dotenv-1.0.2.tar.gz