skillfed

anchorpy-core

Python bindings for Anchor Rust code

anchorpy-core v0.2.0 136.4K downloads/30d#11,396 on PyPI4
Permissive license Apache-2.0 DORMANT released

What it is and what it does

anchorpy-core is a Python package that wraps compiled Rust code from the Anchor framework, a popular development framework for Solana smart contracts. It allows Python developers to interact with Anchor-based Rust functionality without writing Rust themselves, bridging the gap between Python and Rust ecosystems for Solana development.

The package is distributed as pre-compiled binary wheels for multiple platforms and architectures, minimizing installation complexity on supported systems. It depends only on jsonalias at runtime. However, the project is dormant—no releases since late 2023 and no recent commits—so it receives no active maintenance, bug fixes, or updates to support newer Anchor or Solana versions.

Use it for:

  • Calling Anchor Rust program logic from Python test suites or automation scripts
  • Integrating Solana smart contract interactions into Python-based blockchain applications
  • Prototyping or scripting with Anchor framework without writing Rust directly
  • Building Python tooling that needs to invoke compiled Anchor functionality

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to Anchor Rust code, enabling Python developers to call compiled Rust functionality from the Anchor framework.

Yes, if you need to call specific Anchor Rust code from Python and the package's last release (0.2.0, 2023-12-29) is compatible with your Anchor and Solana versions. No, if you require active maintenance, bug fixes, or support for recent Anchor framework updates—the dormant status and lack of recent commits mean issues will not be addressed. Verify compatibility with your target Anchor version before committing.

Install

anchorpy-core on PyPI

pip

pip install anchorpy-core

uv

uv add anchorpy-core

poetry

poetry add anchorpy-core

Installing anchorpy-core

Before you install

Medium install friction due to compiled binary wheels across multiple platforms. Package is dormant—last release was 2023-12-29 and last commit 2024-10-18, so expect no active maintenance or bug fixes.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

Quickstart

pip install anchorpy-core
import anchorpy_core
# Use Anchor Rust bindings through the imported module

Requires Python >=3.9; binary wheels available for common platforms (x86_64, ARM, etc.) but may require compilation on unsupported architectures.

Verify before relying

  • What specific Anchor Rust functionality is exposed and how it is typically called from Python
  • Whether jsonalias dependency is required at runtime or only for development
  • Compatibility with recent versions of Anchor framework and Solana tooling

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction medium — platform-specific wheel
Runtime dependencies 1 — jsonalias
Maintenance dormant — 959 days since the last release
Last repo commit
First released
Downloads 136,433/month — #11,396 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: anchorpy_core-0.2.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl; anchorpy_core-0.2.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; anchorpy_core-0.2.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; anchorpy_core-0.2.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl; anchorpy_core-0.2.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl; anchorpy_core-0.2.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; anchorpy_core-0.2.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl; anchorpy_core-0.2.0-cp37-abi3-musllinux_1_2_i686.whl; anchorpy_core-0.2.0-cp37-abi3-musllinux_1_2_x86_64.whl; anchorpy_core-0.2.0-cp37-abi3-win_amd64.whl

Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Rust

Tags

anchor rust bindings pythonsolana anchor pythonrust ffi python bindingsanchor framework pythonsolana program python interface
rust-bindingssolanablockchain

More Software Development packages