Automatically set env-vars at the beginning of every python-process in your in-project virtualenv.
Project description
Installation
Install via pip:
> bin/pip install autoread-dotenv
Or add to your poetry-based project:
> 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_:
[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
Compatibility
autoread-dotenv
works on Python 3.8+, including PyPy3. Tested until Python 3.11,
Notable dependencies
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
autoread_dotenv-1.0.2.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for autoread_dotenv-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 745d3ca5d33714d34ee1993cb2947d8d90c573c5688e911f38a6f38057259d08 |
|
MD5 | e91ae5cefee661e1f3c4a902453b83d9 |
|
BLAKE2b-256 | 8a4d3e886499361679c34cd0537879fb666165b9a32f50f3cf00469efb31ae4e |