Skip to main content

call `load_dotenv()` when python starts

Project description

dotenv.pth

Automatically loads environment variables from .env when Python starts.

It works by using a .pth file to call load_dotenv() at interpreter startup.

Usage

Once installed, each time Python starts, your .env variables are loaded automatically—no code changes or imports needed.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dotenv_pth-1.0.tar.gz (1.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dotenv_pth-1.0-py2.py3-none-any.whl (1.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dotenv_pth-1.0.tar.gz.

File metadata

  • Download URL: dotenv_pth-1.0.tar.gz
  • Upload date:
  • Size: 1.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dotenv_pth-1.0.tar.gz
Algorithm Hash digest
SHA256 35a7db8e625df2821420e7b5cb398850fb104f24dc003e612c7401163eec6999
MD5 c2ed9426d38d406069ea520c41ee0ad1
BLAKE2b-256 89b265ccdc0480f7ac41f323a0496e5844c9a1b52a04d69c8558cf4cf3b72c66

See more details on using hashes here.

Provenance

The following attestation bundles were made for dotenv_pth-1.0.tar.gz:

Publisher: publish.yml on CNSeniorious000/dotenv.pth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dotenv_pth-1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: dotenv_pth-1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dotenv_pth-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aadc2610bad140ab861256b27197a3f54b3f23b5ae6871d1695174c4f7401e80
MD5 507a2123a2db9938701b094f35ad0742
BLAKE2b-256 68fe6e5dcd537a3b97a1898eb537c1f269b395c0a4381e55275145972dd1d110

See more details on using hashes here.

Provenance

The following attestation bundles were made for dotenv_pth-1.0-py2.py3-none-any.whl:

Publisher: publish.yml on CNSeniorious000/dotenv.pth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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