OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

py3-expandvars-0.12.0p1

expand system variables Unix style

Back to search · Project homepage

Description

This module 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.

Package information

Ports path
sysutils/py-expandvars
Package architecture
amd64
Maintainer
Denis Fondras <denis@openbsd.org>
Categories
sysutils, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Used by (4 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON