python-decouple icon indicating copy to clipboard operation
python-decouple copied to clipboard

Strict separation of config from code.

Results 16 python-decouple issues
Sort by recently updated
recently updated
newest added

The [django-cors-headers](https://github.com/adamchainz/django-cors-headers) middleware has two ways to control `Access-Control-Allow-Origin`. One of them is via a regular expression `CORS_ALLOWED_ORIGIN_REGEXES`, which is a list of strings that are regular expressions. Unfortunately, we've...

[python-dotenv](https://github.com/theskumar/python-dotenv) has a feature called `find_dotenv()`, which - > will try to find a .env file by (a) guessing where to start using __file__ or the working directory -- allowing...

This makes it possible to write multi-line strings. Also, `dotenv` is the same library `docker-compose` uses.

Original Credit: https://www.codingforentrepreneurs.com/blog/google-secrets-python-decouple-github-actions/ Working with Google Secret Manager, the config is provided back as a string. To support the format, a `RepositoryString` class has been created which parses a string...

Hi, When running from .env file quotes will be correctly stripped in the current version. But when that same .env file is loaded through a docker-compose.yml it will internally be...

When the imported file calling `config` is for example on the D: drive, the recurrent function that searches its parent folders will eventually reach D:/. Unfortunately, the check that's meant...