BSD Ports

devel/py-dotenv 1.2.3 NetBSD

Add .env support to your django/flask apps

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
e227e2f796
License
modified-bsd
Categories
devel, python
Package size
40.8 KiB, 172.4 KiB installed

Description

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.

Install

Binary package:

pkgin install py311-dotenv

From pkgsrc:

cd /usr/pkgsrc/devel/py-dotenv && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.2.3
NetBSD 10.1 aarch641.2.2
SmartOS / illumos x86_641.2.4
macOS 15 arm641.2.4

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-dotenv-1.2.3, py313-dotenv-1.2.3, py314-dotenv-1.2.3

Commit history 2

DateCommitCreditsLog message
e227e2f796 adam py-dotenv: updated to 1.2.4
1.2.4 Fixed - `dotenv get` no longer exits with code 1 for empty string values (`KEY=`) - An unquoted empty value followed by an inline comment (e.g. `KEY= # comment`) is now parsed as an empty string instead of the comment text - `dotenv run --no-override` now expands variable references with the same precedence as `load_dotenv(override=False)`, so a value like `${BASE}/suffix` uses the existing `BASE` from the environment instead of the one from the `.env` file
fad94720f5 adam py-dotenv: updated to 1.2.3
1.2.3 Fixed - Strip a leading UTF-8 BOM from `.env` file contents so the first variable is no longer silently lost when the file is saved with BOM (e.g. by some JetBrains IDEs on Windows) - `set_key` now escapes backslashes, so values containing them (Windows paths, regular expressions) survive a write/read round-trip. Quoted values ending in an escaped backslash are no longer mis-parsed as an escaped quote, which used to swallow the following lines - `dotenv run` now prints a friendly error instead of a traceback when no command is given - Cache the parsed result for empty `.env` files so repeated `dotenv_values`/`load_dotenv` calls no longer re-read the file