Registry / devops / doppler-env

doppler-env

JSON →
library0.3.1pypypi✓ verified 82d ago

Inject Doppler secrets as environment variables into your Python application during local development. Supports debuggers in PyCharm and VS Code. Latest version: 0.3.1. Release cadence is low; last release was 2021.

pip install doppler-env
INSTALL
IMPORT
SIG · DOPPLER-ENV
D
doppler-env
devopspythonv0.3.1
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.3.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fetch_api
from doppler_env import fetch_api
from doppler_env import main
fetch_cli
from doppler_env import fetch_cli
from doppler_env import main
load_dotenv
from doppler_env import load_dotenv
from doppler_env import main

Call main() after setting DOPPLER_TOKEN (API) or DOPPLER_ENV (CLI) to inject secrets.

import os from doppler_env import main # Set DOPPLER_TOKEN or DOPPLER_ENV before calling main os.environ.setdefault('DOPPLER_TOKEN', '') # or set DOPPLER_ENV main() # Now secrets are in environment variables print(os.environ.get('EXAMPLE_SECRET', 'not found'))
doppler --version
Debug
Known issues
gotchaThe package name contains a hyphen, but import uses underscore: `doppler_env`.
fix
Use `from doppler_env import main` instead of `import doppler-env`.
affects: all
gotchaLogging is disabled by default since v0.3.1; enable with DOPPLER_ENV_LOGGING=1.
fix
Set DOPPLER_ENV_LOGGING=1 if you need debug output.
affects: >=0.3.1
deprecatedSupport for Python 3.6 is minimal; consider upgrading.
fix
Use Python 3.7+ for best compatibility.
affects: >=0.2.2
Upgrade
Version history
0.3.1latest on PyPI · released Dec 8, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
doppler-env — pip install doppler-env · libregistry