Is there a way to integrate Doppler with a Flask app hosted on Python Anywhere?

I can’t find any documentation for it and it looks like it’s not listed on the integrations page. Has anyone found a way to make this work? Even if it’s a bit roundabout by integrating doppler with a random third party and integrating that with Python Anywhere.

Hi @sorrek!

In most cases, the best way to integrate with Doppler in an IDE/editor is by using our python-doppler-env package. Could you take a look at that and see if it might work? If not, we can explore other options.


It looks like there are two challenges - I think the python-doppler-env package may help with the first I mentioned before. The second however seems to be actually installing Doppler. Seems you cannot install things on a PythonAnywhere venv using sumo privileges or apt-get functions. Is there a way to install Doppler to an Ubuntu machine without either?

Yep! You can use the Shell Script install method for this. You’ll need to modify the command from what’s in our docs slightly though (and you’ll need curl/wget and gnupg installed):

(curl -Ls --tlsv1.2 --proto "=https" --retry 3 || wget -t 3 -qO- | sh -s -- --debug --install-path /some/path/you/can/write/to

That will download the binary, perform signature verification, and store it where you specify (no sudo required). Alternately, you can download the tar archives for the CLI from directly if you can’t install gnupg for some reason.

Does that help?