anchorpy-core
Python bindings for Anchor Rust code
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-coreuv
uv add anchorpy-corepoetry
poetry add anchorpy-coreInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
anchorpyAnchorPy is a Python client library for…
unclear · top 15,000 on PyPI
chalkpy-rsProvides a native Rust extension package that…
unclear · top 15,000 on PyPI
soldersSolders is a high-performance Python toolkit…
unclear · top 5,000 on PyPI
fable-libraryFable Library for Python provides runtime…
permissive · top 15,000 on PyPI
ankiProvides Python access to Anki's core…
agpl · top 15,000 on PyPI
pact-python-ffiProvides direct Python bindings to the Pact FFI…
permissive · top 5,000 on PyPI
puccinialinInstalls Rust and Cargo into a temporary cache…
permissive · top 5,000 on PyPI
setuptools-rustsetuptools-rust is a setuptools plugin that…
permissive · top 5,000 on PyPI
regressProvides Python bindings to the Rust regress…
permissive · top 5,000 on PyPI
kailash-enterpriseA Rust-compiled workflow orchestration engine…
unclear · top 15,000 on PyPI