pox
utilities for filesystem exploration and automated builds
What it is and what it does
Pox is a collection of filesystem and environment utilities that complement Python's built-in `os` and `shutil` modules. It provides Python equivalents of Unix shell commands like `which` and `find`, along with functions to discover user environment details (home directory, login shell, preferred user name) and manipulate environment variables. The package is particularly useful for remote system administration and automated builds, where you need to programmatically discover what tools are installed and where they live on a system.
The package also offers higher-level operations: finding the location of an installed Python package, determining if source code exists on the filesystem, querying package versions, and abstracting commands for remote execution. It has no runtime dependencies and is part of the larger pathos framework for heterogeneous computing, making it a lightweight addition to build scripts and system exploration workflows.
Use it for:
- Discover the path to an executable or Python interpreter on a local or remote system without shell invocation.
- Expand environment variables in configuration paths or build scripts programmatically.
- Locate installed Python packages and their source code directories for introspection or manipulation.
- Automate cross-platform build and installation scripts that need to query the user's home directory and shell preferences.
- Abstract filesystem commands for execution across distributed or parallel pipes in heterogeneous computing setups.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Pox provides utilities for filesystem exploration, environment variable manipulation, and automated discovery of installed tools and packages—useful for both local and remote system interaction.
Yes. Pox is a lightweight, dependency-free utility library with active maintenance, permissive licensing, and no known vulnerabilities. Install it if you need programmatic filesystem exploration, environment variable handling, or automated discovery of system tools—particularly valuable in build automation and remote system administration scripts.
Install
pox on PyPI
pip
pip install poxuv
uv add poxpoetry
poetry add poxInstalling pox
Before you install
Low install friction with no runtime dependencies. Actively maintained as of 2026-06-22, with production-stable status and support for current Python versions (3.9 through 3.14).
License in practice
Distributed under BSD-3-Clause, a permissive license allowing commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install pox
import pox
print(pox.homedir())
print(pox.which('python3.9'))
print(pox.expandvars('${HOME}/dev'))
Requires Python >=3.9 and setuptools >=42.
Verify before relying
- Whether pox's remote filesystem abstraction works with specific SSH or connection libraries beyond what the description implies.
- Performance characteristics when searching deeply nested filesystems or across many environment variables.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 207 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 18,041,870/month — #1,087 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pox-0.3.7-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
platformdirsDetermines platform-specific directories for…
permissive · top 100 on PyPI
pathtoolsProvides pattern matching and utility functions…
permissive · top 15,000 on PyPI
expandvarsExpands Unix-style variable references in…
permissive · top 5,000 on PyPI
findpythonLocates Python interpreters on your system by…
permissive · top 1,000 on PyPI
testpathTestpath provides utilities for testing code…
permissive · top 5,000 on PyPI
findlibsLocates shared libraries on the system by…
permissive · top 5,000 on PyPI
colcon-recursive-crawlA colcon-core extension that recursively crawls…
permissive · top 15,000 on PyPI
ftputilftputil provides a high-level FTP client…
permissive · top 15,000 on PyPI
pathlib-abcProvides abstract base classes for implementing…
permissive · top 1,000 on PyPI