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

Hi, I am running Django with multiple tenants. For each tenant I am using a different settings.ini file. But each of this files has common parameters like e.g. DB credentials....

Added a method called get() in AutoConfig class. It will basically produce the same results as calling config() object, but more intuitive because get is an action. Therefore instead of...

Over the years, most ppl request adding features to decouple. I think the API is quite mature and fits well it's purpose. However 2 areas could be improved: 1. An...

Hello, I am trying to use `cast` to parse a parameter and use it as an argument for a function that uses type hints. ```python controller = Controller( config("MAX_ALLOWED_POWER", cast=int),...

On windows, when running using VSCode and using the integrated terminal to launch my application, _caller_path returns a path starting with c:\ (lowercase) while os.path.abspath(os.sep) return C:\ (uppercase). This causes...

This is not a package issue, but it occurred in the Pycharm IDE and Python 3.10, where despite the package being manually listed in the requirements.txt file, the IDE warns...

Hi. For some reason jupyter notebooks of vscode the behaviour of decouple recently break decouple default config for me: ```python3 from decouple import config config('SECRET') --------------------------------------------------------------------------- /var/folders/hv/j2pkf20x1qb1c0sc23yd58y40000gn/T/ipykernel_9171/3485114881.py in ----> 1...

According to my test, the method `_caller_path()` just return name of the executed file, but not the full path. Thus, `os.path.dirname(file_name)` will always return an empty string `''`. Although with...

Test for #102 A regular expression is often written with backslash escapes. This change introduces a test to check that the Csv helper does not strip backslashes from input strings.