NOTICE: This package has been removed from pkgsrc

./devel/py-python-dotenv, Add .env support to your django/flask apps

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 0.8.2, Package name: py27-python-dotenv-0.8.2, Maintainer: wen

python-dotenv reads the key,value pair from .env and adds them to environment
variable. It is great of managing app settings during development and in
production using 12-factor principles.


Required to run:
[devel/py-setuptools] [lang/python27] [devel/py-click]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: b3f638ca640f989408fc625c0cd29af7509bbf10
RMD160: 1c7ebff47846c8754e3f8353bf4373e06eb318da
Filesize: 16.364 KB

Version history: (Expand)


CVS history: (Expand)


   2020-03-21 20:41:56 by Adam Ciarcinski | Files touched by this commit (5) | Package removed
Log message:
py-dotenv: updated to 0.12.0

0.12.0:
Changed
- Use current working directory to find `.env` when bundled by PyInstaller

Fixed
- Fix escaping of quoted values written by `set_key`
- Fix `dotenv run` crashing on environment variables without values
- Remove warning when last line is empty

0.11.0:
Added
- Add `interpolate` argument to `load_dotenv` and `dotenv_values` to disable \ 
interpolation

Changed
- Use logging instead of warnings

Fixed
- Fix installation in non-UTF-8 environments
- Fix PyPI classifiers

0.10.5:
Fixed
- Fix handling of malformed lines and lines without a value
  - Don't print warning when key has no value.
  - Reject more malformed lines (e.g. "A: B", "a='b',c").
- Fix handling of lines with just a comment

0.10.4:
Added
- Make typing optional
- Print a warning on malformed line
- Support keys without a value

0.10.3
- Improve interactive mode detection
- Refactor parser to fix parsing inconsistencies
  - Interpret escapes as control characters only in double-quoted strings.
  - Interpret `#` as start of comment only if preceded by whitespace.

0.10.2
- Add type hints and expose them to users
- `load_dotenv` and `dotenv_values` now accept an `encoding` parameter, defaults \ 
to `None`
- Fix `str`/`unicode` inconsistency in Python 2: values are always `str` now.
- Fix Unicode error in Python 2, introduced in 0.10.0.

0.10.1
- Fix parsing of variable without a value

0.10.0
- Add support for UTF-8 in unquoted values
- Add support for trailing comments
- Add backslashes support in values
- Add support for newlines in values
- Force environment variables to str with Python2 on Windows
- Drop Python 3.3 support
- Fix stderr/-out/-in redirection

0.9.0
- Add `--version` parameter to cli
- Enable loading from current directory
- Add 'dotenv run' command for calling arbitrary shell script with .env
   2018-05-03 04:26:55 by Wen Heping | Files touched by this commit (5)
Log message:
Import python-dotenv-0.8.2 as devel/py-python-dotenv.

python-dotenv reads the key,value pair from .env and adds them to environment
variable. It is great of managing app settings during development and in
production using 12-factor principles.