pytoniq-core
TON Blockchain SDK
Decision gist · record as of 2026-08-14
Yes, if you are building TON blockchain applications and need low-level protocol primitives. The package is actively maintained, has no known vulnerabilities, and installs with low friction. However, verify the license terms first—they are not declared in the metadata—and confirm it fits your use case, as this is a foundational library, not a high-level wallet or node interface.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; depends on compiled cryptographic libraries (pycryptodomex, PyNaCl, x25519).
- Low friction: pure Python wheel with six runtime dependencies (pycryptodomex, bitarray, requests, x25519, setuptools, PyNaCl).
- Active maintenance—last commit 2025-11-30, release 7 days old—suggests ongoing support.
License · maintenance · safety
(unclear) — License status is unclear; neither SPDX nor raw license metadata is available. Verify the actual license terms in the repository before using in proprietary or copyleft-sensitive contexts.
last release 2026-08-07 (7 days) · last repo commit 2025-11-30 · 131 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 120,396 downloads/mo, #12,024 on PyPI
Alternatives
Verify before relying
pip install pytoniq-core
from pytoniq_core import Cell, Address
# Create a cell and address
cell = Cell()
addr = Address('EQBvW8Z5huBkMJYdnfAEM5JqTNkuWX3diqYENkWsIL0XggGG')- Whether the package is suitable for production blockchain applications or primarily for development/testing.
- Performance characteristics when handling large or deeply nested cell structures.
- Compatibility guarantees across minor versions given the active development pace.
What it is and what it does
pytoniq-core is a low-level SDK for the TON blockchain, providing the foundational data structures and cryptographic primitives needed to interact with TON at the protocol level. It handles binary serialization (cells, slices, builders), address encoding, key generation, signature operations, and TL-schema (de)serialization—the wire format used throughout the TON network.
The package is organized into five main modules: boc (binary object containers and address handling), crypto (ADNL cryptography, CRC functions, key and signature operations), proof (Merkle proof verification), tl (automatic TL serialization), and tl-b (wrappers for TON's block schema and custom schemes). It targets developers building blockchain tools, wallets, or protocol-level applications on TON, and is actively maintained with support for Python 3.9 through 3.14.
Use it for
- Building TON wallet or node software that needs to serialize and deserialize blockchain messages.
- Verifying Merkle proofs from TON blockchain data to validate state or transaction inclusion.
- Implementing custom TON smart contract interaction libraries that require low-level cell manipulation.
- Generating and managing TON addresses and cryptographic keys for protocol-level operations.
- Parsing and constructing TL-serialized data structures for TON network communication.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building TON blockchain applications and need low-level protocol primitives.
The package is actively maintained, has no known vulnerabilities, and installs with low friction. However, verify the license terms first—they are not declared in the metadata—and confirm it fits your use case, as this is a foundational library, not a high-level wallet or node interface.
Install
pytoniq-core on PyPI
Before you install
Low friction: pure Python wheel with six runtime dependencies (pycryptodomex, bitarray, requests, x25519, setuptools, PyNaCl). Active maintenance—last commit 2025-11-30, release 7 days old—suggests ongoing support.
Requires Python 3.9 or later; depends on compiled cryptographic libraries (pycryptodomex, PyNaCl, x25519).
License in practice
License status is unclear; neither SPDX nor raw license metadata is available. Verify the actual license terms in the repository before using in proprietary or copyleft-sensitive contexts.
Quickstart
pip install pytoniq-core
from pytoniq_core import Cell, Address
# Create a cell and address
cell = Cell()
addr = Address('EQBvW8Z5huBkMJYdnfAEM5JqTNkuWX3diqYENkWsIL0XggGG')
Verify before relying
- Whether the package is suitable for production blockchain applications or primarily for development/testing.
- Performance characteristics when handling large or deeply nested cell structures.
- Compatibility guarantees across minor versions given the active development pace.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagespycryptodomexbitarrayrequestsx25519setuptoolsPyNaCl |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 120,396 / month, #12,024 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries |
Evidence: pytoniq_core-0.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “blockchain binary data structures”
- pytoniq-corepytoniq-core provides low-level primitives for working with the TON…
- borsh-constructImplements the Borsh binary serialization format for Python, enabling…
- chia-baseProvides base data types and utilities for Chia coin operations,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also pytoniq-core-fork · tonsdk · opentimestamps · opentimestamps-client · cryptography · scalecodec · eth-rlp · chiapos · trie