Installation¶
PinViz requires Python 3.12 or later.
For CLI Usage (Recommended)¶
Install as a standalone tool with global access to the CLI using uv:
After installation, pinviz will be available globally in your terminal.
Alternative: You can also use pipx for isolated CLI tool installations:
As a Project Dependency¶
If you want to use PinViz as a library in your Python project:
Note
If you install with uv add, the CLI tool will only be available via uv run pinviz. For direct CLI access, use uv tool install instead.
Verify Installation¶
Check that PinViz is installed correctly:
You should see the command-line help output.
Tip
If you installed with uv add, use uv run pinviz --help instead.
Development Installation¶
For contributing to PinViz, clone the repository and install in development mode:
# Clone repository
git clone https://github.com/nordstad/PinViz.git
cd PinViz
# Install dependencies
uv sync --dev
# Verify installation
uv run pinviz --help
Requirements¶
- Python 3.12 or later
- Dependencies:
svgwrite>=1.4.3- SVG generationpyyaml>=6.0.1- YAML configuration parsing
All dependencies are installed automatically when you install PinViz.
Next Steps¶
- Continue to the Quick Start Tutorial
- Learn about CLI Usage
- Explore the Python API