Practical overview
When it fits
Use Anchorpy when a Python project needs to interact with Anchor programs or when its client-generation, testing or command-line tools fit the development workflow.
Who it is for
- Python developers working with Anchor programs
- Teams testing Python projects that use Anchor programs
Documented uses
- Generate a static Python client for an Anchor program
- Call an Anchor program from Python using the dynamic client
- Use a Pytest plugin when testing Python projects with Anchor programs
- Use CLI utilities for Anchor Python development
Requirements & limits
The README requires Python 3.9 or later and documents installation through pip. The library can be installed alone; CLI and Pytest features are included as optional extras.
- Static client generation and a dynamic client are both available.
- The Pytest plugin and CLI are optional installation extras.
- The documented runtime prerequisite is Python 3.9 or later.
- The repository specifies the MIT license.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up AnchorPy for development and run unit tests
Prepare an AnchorPy contribution environment and run its unit tests.
Before you start
- uv installed
Steps
Install uv using its installation instructions.
Run the command below.
uv run --all-extras pytest tests/unit
Expected outcome
The documented unit-test command is run with all extras enabled.
Guide limitations
- The source does not specify expected test results or additional development setup steps.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 October 2026
- Original website title
- kevinheavey/anchorpy · Official homepage title · retained in its source language

