Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

autoread-dotenv

Testing Linting Read the Docs Codecov PyPi Package MIT License

autoread-dotenv parses your .env file when starting any venv-based Python process:

Demo

Installation

Install via uv:

> uv add autoread-dotenv

Or add to your poetry-based project:

> poetry add autoread-dotenv

Install via pip:

> bin/pip install autoread-dotenv

Set up a local development environment

> just install

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_:

    [project.entry-points.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

Avoid overriding existing environments variables

By default, your .env-file read by autoread-dotenv will override any pre-existing environment variables. You can avoid this behaviour by setting AUTOREAD_ENFORCE_DOTENV=0.

Overriding where the .env-file is looked up

By default, autoread-dotenv locates your .env relative to sys.prefix, assuming the in-project-virtualenv layout described above. For setups that don't follow that convention (global installs, containers, editable mounts, ...), set AUTOREAD_DOTENV_PATH to the full path of the .env-file to use instead - it takes precedence and skips the sys.prefix-based lookup entirely:

> export AUTOREAD_DOTENV_PATH=/etc/myapp/production.env

Performance

autoread-dotenv runs on the start of every Python process in the venv, so its startup-time cost is measured and tracked explicitly - see docs/performance.md for the current numbers and how to reproduce them.

Compatibility

Python Version PyPI - Implementation

autoread-dotenv works on Python 3.9+, including PyPy3. Tested until Python 3.14.

Notable dependencies

Metadata

Release files for autoread-dotenv 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for autoread-dotenv 1.0.6
File Size Uploaded Provenance
autoread_dotenv-1.0.6.tar.gz 9.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autoread-dotenv 1.0.6
File Interpreter ABI Platform
autoread_dotenv-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / autoread_dotenv-1.0.6.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL autoread_dotenv-1.0.6.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3bd2a034b18f30cd1a71a5bb9feb1618f891c091b0e00907ecff14aad8a0da48
BLAKE2b-256 checksum
How to use checksums
52266f5d3ec0f59eb24f2dad157e9c6de4be90b263600281da3a51dd82ca65f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / autoread_dotenv-1.0.6-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL autoread_dotenv-1.0.6-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aa59b7eb329b6b97631944fbe9e224e71a8eb981f6ad59454851402778262f0
BLAKE2b-256 checksum
How to use checksums
710088e09a00d3362a785a4a955f99a1da7abbffa9fe7a22d5a9eea833d3e196
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Security for autoread-dotenv 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The configuration that created this release differs from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Configuration

  • Removed 1.0.5 release.yaml
  • Added 1.0.6 releasing.yaml
Select from 2 files

Attestation for autoread_dotenv-1.0.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page