I want to make a package that works out of the box with reasonable default variables, like defining some servers, ports etc. so that the code works fo ...
I want to make a package that works out of the box with reasonable default variables, like defining some servers, ports etc. so that the code works fo ...
I have a project that I'm working on in which I need to store sensitive information into an environment file as variables that can later be called in ...
I'm developing a script in Python 3.9 that works perfectly on my personal PC. When I tried moving and running it on a server, which has an older pytho ...
This question is partly about how to test external dependencies (a.k.a. integration tests) and partly how to implement it with Python for SQL with Big ...
Facing dotenv not found error. My environment is setup as follow: I have tried the answers to similar problem but still getting this error. Few ...
I have a Python script that interrogates a thermocouple HAT connected to a Raspberry Pi. I am now trying to use .env files so that I can use the same ...
I am novice in IT. Sorry for possible stupid question. I want to check wether python-dotenv really creates environment variable. So I add .env file wi ...
Background, I have a MSSQL server database that uses a specific instances, hence the connect string/engine to this database would look like this: Eng ...
I'm trying initialising Firebase Admin SDK using .env file on a Django app and I get the following error: Illegal Firebase credential provided. App m ...
I am making a program in python that I plan to host on github. I have a .env file containing an api token. I tried to import it into my code like so: ...
I'm trying to implement a checkpoint mechanism for my original script with the following structure: My .env file While this method is working in ...
I am creating a simple app that connects to an API and stores specific data into a list. In order to connect to the API, I must do BasicAuth with an e ...
I have abstracted the reading of the .env file to settings.py but I'm not sure if this is idiomatic to python: Should each module read the .env ...
Windows, Visual studio, django. I tried to install python-dotenv: https://pypi.org/project/python-dotenv/#getting-started. But when I want to import ...
I have seen this question about 5 times before, I have tried every solution there, I have tried uninstalling python-dotenv, reinstalling it, using pip ...
I spend the last couple of days trying to find what I have done wrong but I am still not able to figure out because I am able to run the app locally u ...
I'm setting up Django using os.getenv to prepare it for deploying using Docker but it seems it is not reading the .env file. Any idea why is not readi ...
In Fast API documentation it is recommended to use .env to load the config. Only that it only supports string as far as I understand it. I usually ...