Metadata-Version: 2.1
Name: anchorpy-fork
Version: 0.18.1a1
Summary: The Python Anchor client.
Home-page: https://github.com/kevinheavey/anchorpy
Author: kevinheavey
Author-email: kevinheavey123@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Provides-Extra: cli
Requires-Dist: anchorpy-core (>=0,<1)
Requires-Dist: autoflake (>=1.4,<2.0) ; extra == "cli"
Requires-Dist: based58 (>=0,<1)
Requires-Dist: black (>=22.3.0,<23.0.0) ; extra == "cli"
Requires-Dist: borsh-construct (>=0.1.0,<0.2.0)
Requires-Dist: construct-typing (>=0,<1)
Requires-Dist: genpy (>=2022.1,<2023.0) ; extra == "cli"
Requires-Dist: ipython (>=8.0.1,<9.0.0) ; extra == "cli"
Requires-Dist: jsonrpcclient (>=4.0.1,<5.0.0)
Requires-Dist: more-itertools (>=8.11.0,<9.0.0)
Requires-Dist: py (>=1.11.0,<2.0.0)
Requires-Dist: pyheck (>=0,<1)
Requires-Dist: pytest (>=7.2.0,<8.0.0)
Requires-Dist: pytest-asyncio (>=0,<1)
Requires-Dist: pytest-xprocess (>=0,<1)
Requires-Dist: solana-fork (>=0.30.2a1,<0.31.0)
Requires-Dist: solders (>=0,<1)
Requires-Dist: toml (>=0,<1)
Requires-Dist: toolz (>=0,<1)
Requires-Dist: typer (>=0,<1) ; extra == "cli"
Requires-Dist: websockets (>=9.0,<11.0)
Requires-Dist: zstandard (>=0,<1)
Project-URL: Documentation, https://kevinheavey.github.io/anchorpy/
Project-URL: Repository, https://github.com/kevinheavey/anchorpy
Description-Content-Type: text/markdown

# AnchorPy
<div align="center">
    <img src="https://raw.githubusercontent.com/kevinheavey/anchorpy/main/docs/img/logo.png" width="40%" height="40%">
</div>

---

[![Discord Chat](https://img.shields.io/discord/889577356681945098?color=blueviolet)](https://discord.gg/sxy4zxBckh)  

AnchorPy is the gateway to interacting with [Anchor](https://github.com/project-serum/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](https://kevinheavey.github.io/anchorpy/).



## Installation (requires Python >=3.9)

```sh
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](https://python-poetry.org/docs/#installation)
2. Install dev dependencies:
```sh
poetry install

```
3. Install [nox-poetry](https://github.com/cjolowicz/nox-poetry) (note: do not use Poetry to install this, see [here](https://medium.com/@cjolowicz/nox-is-a-part-of-your-global-developer-environment-like-poetry-pre-commit-pyenv-or-pipx-1cdeba9198bd))
4. Activate the poetry shell:
```sh
poetry shell

```

