Anchorpy
The Python Anchor client.
Install / Use
/learn @kevinheavey/AnchorpyREADME
AnchorPy
<div align="center"> <img src="https://raw.githubusercontent.com/kevinheavey/anchorpy/main/docs/img/logo.png" width="40%" height="40%"> </div>AnchorPy is the gateway to interacting with Anchor programs in Python. It provides:
- A static client generator
- A dynamic client similar to
anchor-ts - A Pytest plugin
- A CLI with various utilities for Anchor Python development.
Read the Documentation.
Installation (requires Python >=3.9)
pip install anchorpy[cli, pytest]
Or, if you're not using the CLI or Pytest plugin features of AnchorPy you can just run pip install anchorpy.
Development Setup
If you want to contribute to AnchorPy, follow these steps to get set up:
- Install uv
- Run the unit tests:
uv run --all-extras pytest tests/unit
