Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Based on dTON fork License PyPI version

Chat About us Docs Keys and rates X (Twitter)

tonpy: powerful Python TON toolkit

What is it?

tonpy is a Python package that provides data structures and API to interact with TON blockchain. Tonpy is separate for two packages: C++ bindings and main package that takes pre-built binaries compiled by workflow and creates complete python package with some python code on top of C++ bindings.

Installation

One command: pip install tonpy

Documentation

Documentation can be found on tonpy.dton.io

Supported systems / architectures / Python

System Architecture Python versions CI status
🐧 Linux x86_64 3.10 – 3.13 ✅
🐧 Linux aarch64 3.10 – 3.13 ✅
🍎 macOS x86_64 (Intel) 3.10 – 3.13 ✅
🍎 macOS aarch64 (Apple Silicon) 3.10 – 3.13 ✅
🪟 Windows x86_64 3.10 – 3.13 ✅
🪟 Windows aarch64 — ⛔

Speed compare

compare/pytoniq.py

Cell load tests

module 100.000 Cells, 1 ref, 1024 bits vs tonpy
tonpy 0.02 1
pytoniq 1.39 69.5

compare/tvm_run.py

TVM Run

Be careful, enable_stack_dump=True increase time of execution

mode Secs TVM Instances Count
sync 3.53 10
multiprocessing 1.10 10
async 0.59 10
sync 36.36 100
multiprocessing 5.36 100
async 5.15 100

Donation

If you want to support our work, send any coins to:

dton.ton

License

Copyright (c) 2023 Disintar LLP Licensed under the Apache License

Metadata

Release files for tonpy-dev 0.0.0.6.2rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for tonpy-dev 0.0.0.6.2rc1
File
tonpy_dev-0.0.0.6.2rc1-cp313-cp313-manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
tonpy_dev-0.0.0.6.2rc1-cp313-cp313-macosx_14_0_arm64.whl CPython 3.13 CPython 3.13 macOS 14.0+ ARM64 Details
tonpy_dev-0.0.0.6.2rc1-cp312-cp312-manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
tonpy_dev-0.0.0.6.2rc1-cp312-cp312-macosx_14_0_arm64.whl CPython 3.12 CPython 3.12 macOS 14.0+ ARM64 Details
tonpy_dev-0.0.0.6.2rc1-cp310-cp310-manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
tonpy_dev-0.0.0.6.2rc1-cp310-cp310-macosx_14_0_arm64.whl CPython 3.10 CPython 3.10 macOS 14.0+ ARM64 Details

Total release size: 48.2 MB

Release files / tonpy_dev-0.0.0.6.2rc1-cp313-cp313-manylinux2014_x86_64.whl

Download URL tonpy_dev-0.0.0.6.2rc1-cp313-cp313-manylinux2014_x86_64.whl
Size 8.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
bc8c83997d83424ced0d5dd1750f91464418ae928d412aae230cbbd8aeddd3fe
BLAKE2b-256 checksum
How to use checksums
d0cbd7bdbf0f69a1999571b3165e6e0704c44d6284f208af2594e388d1717bae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / tonpy_dev-0.0.0.6.2rc1-cp313-cp313-macosx_14_0_arm64.whl

Download URL tonpy_dev-0.0.0.6.2rc1-cp313-cp313-macosx_14_0_arm64.whl
Size 7.2 MB
Tags CPython 3.13 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
0b23c847de1cb28e24ddb80e3277f4fab7a3474fe316916d04fcadeda908a4ac
BLAKE2b-256 checksum
How to use checksums
3a2c38f43b1c9195780ea82667f1c4c451391265e369d422e8a30b78ccedcad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / tonpy_dev-0.0.0.6.2rc1-cp312-cp312-manylinux2014_x86_64.whl

Download URL tonpy_dev-0.0.0.6.2rc1-cp312-cp312-manylinux2014_x86_64.whl
Size 8.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
010a8c89b5dd2c815fe106a9f651ee00a502ef7316d6760ae8ebc6688c4aefef
BLAKE2b-256 checksum
How to use checksums
267712af8069030aef78988db80ac9a91a5fd3a5f5c6145229f72e2579a2952e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / tonpy_dev-0.0.0.6.2rc1-cp312-cp312-macosx_14_0_arm64.whl

Download URL tonpy_dev-0.0.0.6.2rc1-cp312-cp312-macosx_14_0_arm64.whl
Size 7.2 MB
Tags CPython 3.12 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
74ddd6bd071ac6fe85b1377f2eeecae1d4ad061eac1fd40cbfcd8ac4caa96f4a
BLAKE2b-256 checksum
How to use checksums
fce079c328c54a9a95b08f0495ef4521441da452a3c8b0309a026de8db00e4ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / tonpy_dev-0.0.0.6.2rc1-cp310-cp310-manylinux2014_x86_64.whl

Download URL tonpy_dev-0.0.0.6.2rc1-cp310-cp310-manylinux2014_x86_64.whl
Size 8.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ce92b5666c4b528f2318ffdc3af22c81db7ace12e41796b811093b4bc56a1b2b
BLAKE2b-256 checksum
How to use checksums
c20bc392f9b77023ce9449b17e5ac232febd1daf7d6c6d2d6583d8ad9c2d8c79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / tonpy_dev-0.0.0.6.2rc1-cp310-cp310-macosx_14_0_arm64.whl

Download URL tonpy_dev-0.0.0.6.2rc1-cp310-cp310-macosx_14_0_arm64.whl
Size 7.2 MB
Tags CPython 3.10 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
752a5cef09dbaa52cacb993890f1775a14a3f65adfb8366f77217987d308070b
BLAKE2b-256 checksum
How to use checksums
661b4f98cb64b4f9013f716ad7d1d92a0c4f2e8134dcd0cf2199afba8e217285
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

0.0.0.6.2rc1 This release

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page