Python-dotenv

Latest version: v1.0.1

Safety actively analyzes 623360 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.4.2

- Adding an "overwrite" flag to read_dotenv, False by default. 26 by alexdlaird

1.4.1

- Handle double quotes in values correctly. 18 by maroux
- Add dotenv directory parsing and related tests. 16 by kevgathuku
- Add More Clarifying Readme. 15 by edwinlunando
- Move license from BSD to MIT.
- Removed support for Python 2.6 and 3.2.
- Added support for Python 3.5

![gif](https://media.giphy.com/media/TjQnAdKBIc5he/giphy.gif)

1.3.0

Thanks to jamieconnolly for all this awesome work. Ref 7.

Changelog
- Use a regex for line matching
- Substitute environment variables in a value
- Correct behaviour between no quote/single quote/double quote values
- Handle correct escaping of values
- Add in lots of tests

Upgrading

bash
$ pip install --upgrade django-dotenv

1.0.1

What's Changed
* FIx year in release date in changelog.md by jankislinger in https://github.com/theskumar/python-dotenv/pull/453
* Gracefully handle code which has been imported from a zipfile by samwyma in https://github.com/theskumar/python-dotenv/pull/456
* Use pathlib.Path in tests by eumiro in https://github.com/theskumar/python-dotenv/pull/466
* fixes 473 Use https in README links by Nicals in https://github.com/theskumar/python-dotenv/pull/474
* Allow modules using load_dotenv to be reloaded when launched in a separate thread by freddyaboulton in https://github.com/theskumar/python-dotenv/pull/497
* Fix error handling in the rewrite function by Qwerty-133 in https://github.com/theskumar/python-dotenv/pull/468
* Add python 3.12 and pypy3.10 to test suite by theskumar in https://github.com/theskumar/python-dotenv/pull/498

New Contributors
* jankislinger made their first contribution in https://github.com/theskumar/python-dotenv/pull/453
* samwyma made their first contribution in https://github.com/theskumar/python-dotenv/pull/456
* eumiro made their first contribution in https://github.com/theskumar/python-dotenv/pull/466
* Nicals made their first contribution in https://github.com/theskumar/python-dotenv/pull/474
* freddyaboulton made their first contribution in https://github.com/theskumar/python-dotenv/pull/497
* Qwerty-133 made their first contribution in https://github.com/theskumar/python-dotenv/pull/468

**Full Changelog**: https://github.com/theskumar/python-dotenv/compare/v1.0.0...v1.0.1

1.0.0

What's Changed
* Handle situations where the cwd does not exist. by jctanner in https://github.com/theskumar/python-dotenv/pull/446
* Add python-decouple as a related project by kcarnold in https://github.com/theskumar/python-dotenv/pull/451
* Drop support for python 3.7, add python 3.12-dev by theskumar in https://github.com/theskumar/python-dotenv/pull/449

New Contributors
* jctanner made their first contribution in https://github.com/theskumar/python-dotenv/pull/446
* kcarnold made their first contribution in https://github.com/theskumar/python-dotenv/pull/451

**Full Changelog**: https://github.com/theskumar/python-dotenv/compare/v0.21.1...v1.0.0

0.21.1

Added
* Use Python 3.11 non-beta in CI (438 by bbc2)
* Modernize variables code (434 by Nougat-Waffle)
* Modernize main.py and parser.py code (435 by Nougat-Waffle)
* Improve conciseness of cli.py and __init__.py (439 by Nougat-Waffle)
* Improve error message for `get` and `list` commands when env file can't be opened (441 by bbc2)
* Updated Licence to align with BSD OSI template (433 by lsmith77)


Fixed
* Fix Out-of-scope error when "dest" variable is undefined (413 by theGOTOguy)
* Fix IPython test warning about deprecated `magic` (440 by bbc2)
* Fix type hint for dotenv_path var, add StrPath alias (432 by eaf)

New Contributors
* saimehsan made their first contribution in https://github.com/theskumar/python-dotenv/pull/426
* Praveensenpai made their first contribution in https://github.com/theskumar/python-dotenv/pull/437
* Nougat-Waffle made their first contribution in https://github.com/theskumar/python-dotenv/pull/434
* mivade made their first contribution in https://github.com/theskumar/python-dotenv/pull/442
* lsmith77 made their first contribution in https://github.com/theskumar/python-dotenv/pull/433
* eaftan made their first contribution in https://github.com/theskumar/python-dotenv/pull/432

**Full Changelog**: https://github.com/theskumar/python-dotenv/compare/v0.21.0...v0.21.1

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.