Installing¶
WPextract is available on the PyPI and Anaconda package indexes.
The minimum supported Python version is 3.9. WPextract should work on any Python-supported operating system.
With pipx (recommended for end-users)¶
pipx will automatically install WPextract and its dependencies in an isolated yet globally-accessible environment.
We recommend this method for those wishing to use WPextract through its command line interface.
- If pipx is not already installed, follow the steps in the pipx installation instructions
- Install WPextract:
- Test installation:
Multiple/Specific Versions
To install a specific version, use:
Multiple versions can be installed in parallel using suffixes: The suffix is user-specified and does not necessarily have to match the version number.Uninstalling
To uninstall, use:
This will cleanly uninstall the package and delete its environmentWith pip or conda¶
To install within an existing environment, which is necessary to use WPextract as a library.
WPextract can be manually installed with:
The installation can be tested through the command-line interface:
or through importing as a library:
For Development¶
Dependencies for development and packaging are managed through Poetry.
Poetry will automatically install dependencies and the package itself in editable mode: