Skip to main content

Automatically set env-vars at the beginning of every python-process in your in-project virtualenv.

Project description

Testing Linting Read the Docs Codecov PyPi Package MIT License

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

Python Version PyPI - Implementation

autoread-dotenv works on Python 3.8+, including PyPy3. Tested until Python 3.11,

Notable dependencies

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

autoread_dotenv-1.0.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

autoread_dotenv-1.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file autoread_dotenv-1.0.2.tar.gz.

File metadata

  • Download URL: autoread_dotenv-1.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.2 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for autoread_dotenv-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fbc25cbad12d9991825037741bba8a2b748eb7df7c52d99f9eb0e91885a72d73
MD5 6a8ca94f8cd063cfc42d91da81093578
BLAKE2b-256 3d908c421f99291f2b6d81cba402020ac3f568b74be8b300365328f6459c5589

See more details on using hashes here.

File details

Details for the file autoread_dotenv-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: autoread_dotenv-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.2 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for autoread_dotenv-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 745d3ca5d33714d34ee1993cb2947d8d90c573c5688e911f38a6f38057259d08
MD5 e91ae5cefee661e1f3c4a902453b83d9
BLAKE2b-256 8a4d3e886499361679c34cd0537879fb666165b9a32f50f3cf00469efb31ae4e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page