Install & Compatibility
Where this runs
tested against v0.1.46 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.118s · 37.2MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.9s · import 0.118s · 39MB
41MB installed
● package 41MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Cell
✓ from pytoniq_core import Cell
✗ from pytoniq.cell import Cell
pytoniq-core renamed its top-level module to pytoniq_core (underscore). Old import from pytoniq no longer works.
Address
✓ from pytoniq_core import Address
✗ from pytoniq.address import Address
Address moved to pytoniq_core package.
Slice
✓ from pytoniq_core import Slice
Correct import path.
begin_cell
✓ from pytoniq_core import begin_cell
Function used to start building a Cell.
Create a Cell with basic builder pattern.
from pytoniq_core import Cell, begin_cell, Address
# Build a simple cell
builder = begin_cell()
builder.store_uint(42, 8)
cell = builder.end_cell()
print(cell.hash.hex())
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'pytoniq'
Old import path for core types. pytoniq-core now lives in pytoniq_core package.
fixInstall pytoniq-core and use `from pytoniq_core import ...`
TypeError: store_uint() missing 1 required positional argument: 'bit_len'
store_uint requires two arguments: value and bit_length.
fixCall as `builder.store_uint(value, bit_length)`
Upgrade
Version history
0.1.46latest on PyPI · released Nov 28, 2025
Audit
Dependencies
blessedoptionalUsed for terminal UI in some tools