Pox is a Python library offering simple utilities for exploring and manipulating local and remote filesystems, and for automated build processes. It is currently at version 0.3.7 and maintains an active development status with regular minor updates.
pip install poxVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import the pox library and retrieve its version, license, and citation information.
Ensure your Python environment is version 3.8 or higher when using pox>=0.3.4.
Upgrade your Python installation to version 3.8 or newer. For earlier Python versions, use pox<0.3.6.
Upgrade your Python installation to version 3.9 or newer. For Python 3.8, use pox<0.3.7.
To get the installed package version, use `importlib.metadata.version('pox')` (for Python 3.8+) or `pkg_resources.get_distribution('pox').version`. If `pox.version()` refers to a specific library function, consult the `pox` documentation for the correct API.Consult the `pox` library documentation for the current method of checking its version, or update your code to remove the call to `pox.version()`.
If installing via Git, ensure `__init__.py` files exist in relevant directories. If your project is a subdirectory of the cloned `pox` repository, you might need to adjust imports from `from pox.core import ...` to `from pox.pox.core import ...`. For modern `pox` (uqfoundation), ensure Python 3.9+ is used and install with `pip install pox`. For older `pox` (noxrepo), use Python 2.7.
Convert the `IPAddr` object to its string representation first using the `.toStr()` method before applying string operations. For example, `st.toStr().split('.')` instead of `st.split('.')`.For older POX distributions (e.g., `noxrepo/pox`), use a Python 2.7 interpreter. If you intend to use POX with Python 3, ensure you are using the actively maintained `pox` library from the `uqfoundation` project, which supports Python 3.9+.
Ensure that you are accessing the `connection` attribute from the `event` object provided to your event handler. For instance, if you have an `_handle_PacketIn` method, use `event.connection.send(fm)` instead of `self.connection.send(fm)`.
No dependency data recorded yet.