benedictbrady / anchorpy

The Python Anchor client.

Home Page:https://kevinheavey.github.io/anchorpy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AnchorPy


Discord Chat

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]

Or, if you're not using the CLI 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:

  1. Install poetry
  2. Install dev dependencies:
poetry install
  1. Install nox-poetry (note: do not use Poetry to install this, see here)
  2. Activate the poetry shell:
poetry shell

About

The Python Anchor client.

https://kevinheavey.github.io/anchorpy/

License:MIT License


Languages

Language:Python 65.4%Language:TypeScript 32.9%Language:Rust 1.1%Language:JavaScript 0.4%Language:Makefile 0.1%Language:HTML 0.0%