Skip to content

Releases: DopplerHQ/python-doppler-env

Make logging configurable and disabled by default

08 Dec 23:50
8bccc28
Compare
Choose a tag to compare

Logging output is now disabled by default but can be enabled by setting the DOPPLER_ENV_LOGGING environment variable:

export DOPPLER_ENV_LOGGING=1

Doppler API support and improved error reporting

28 Jun 13:33
2b95f70
Compare
Choose a tag to compare

This release adds improved error reporting in failure cases and supports using the Doppler API if the DOPPLER_TOKEN env var is set.

Improved error reporting

The Python path and current working directory are now output on failure, helping to debug scenarios where doppler-env is working via the terminal but not when debugging through an IDE/editor.

-> python ~/Projects/python-test-app/app.py 
DOPPLER_ENV environment variable set. Fetching secrets using Doppler CLI.

Unable to download secrets
Doppler Error: You must specify a project
Python path: /Users/chris/.virtualenvs/doppler/bin/python
Working directory: /Users/chris/Projects/mandalorian-gifs-python

Doppler API support

Secrets will be fetched directly from the Doppler API when the DOPPLER_TOKEN environment variable is set. This allows for usage in environments without the Doppler CLI or when calling the Doppler CLI from Python is blocked by security policies.

export DOPPLER_TOKEN="dp.st.dev.XXXXXX"

-> python ~/Projects/python-test-app/app.py
DOPPLER_ENV and DOPPLER_TOKEN environment variable set. Fetching secrets from Doppler API.

Add support for Python 3.6

07 May 03:28
7cba080
Compare
Choose a tag to compare
0.2.2

Changed supported Python version to >= 3.6

README updates

05 May 04:42
Compare
Choose a tag to compare
0.2.1

chore: README updates

README updates

05 May 03:41
Compare
Choose a tag to compare
0.2.0

README updates

0.1.1

04 May 05:18
Compare
Choose a tag to compare
Initial commit