BSD Ports

devel/py-expandvars 0.12.0 DragonFly

Expand system variables Unix style

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
11.7 KiB, 56.9 KiB installed

Description

expandvars is inspired by GNU bash's variable expansion features. It can be used as an alternative to Python's os.path.expandvars function.

A good use case is reading config files with the flexibility of reading values from environment variables using advanced features like returning a default value if some variable is not defined.

In the other systems

The newest version among them is 1.1.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-expandvars0.12.0 behind since 2026-08-19none known-[email protected]-
FreeBSDdevel/py-expandvars1.1.2 newestnone known-[email protected]2026-08-19
NetBSDmisc/py-expandvars by name1.1.2 newestnone known-[email protected]-
MidnightBSDdevel/py-expandvars0.12.0_1 behind since 2026-08-19no data-[email protected]-
HardenedBSDdevel/py-expandvars1.1.2 newestno data-[email protected]-
GhostBSDdevel/py-expandvars1.1.2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-expandvars

From DPorts:

cd /usr/dports/devel/py-expandvars && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.