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 0.0.0.1.4rc0

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 0.0.0.1.4rc0
File
tonpy-0.0.0.1.4rc0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
tonpy-0.0.0.1.4rc0-cp313-cp313-manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
tonpy-0.0.0.1.4rc0-cp313-cp313-macosx_14_0_arm64.whl CPython 3.13 CPython 3.13 macOS 14.0+ ARM64 Details
tonpy-0.0.0.1.4rc0-cp313-cp313-macosx_13_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 13.0+ x86-64 Details
tonpy-0.0.0.1.4rc0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
tonpy-0.0.0.1.4rc0-cp312-cp312-manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
tonpy-0.0.0.1.4rc0-cp312-cp312-macosx_14_0_arm64.whl CPython 3.12 CPython 3.12 macOS 14.0+ ARM64 Details
tonpy-0.0.0.1.4rc0-cp312-cp312-macosx_13_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 13.0+ x86-64 Details
tonpy-0.0.0.1.4rc0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
tonpy-0.0.0.1.4rc0-cp311-cp311-manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
tonpy-0.0.0.1.4rc0-cp311-cp311-macosx_14_0_arm64.whl CPython 3.11 CPython 3.11 macOS 14.0+ ARM64 Details
tonpy-0.0.0.1.4rc0-cp311-cp311-macosx_13_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 13.0+ x86-64 Details
tonpy-0.0.0.1.4rc0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
tonpy-0.0.0.1.4rc0-cp310-cp310-manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
tonpy-0.0.0.1.4rc0-cp310-cp310-macosx_14_0_arm64.whl CPython 3.10 CPython 3.10 macOS 14.0+ ARM64 Details
tonpy-0.0.0.1.4rc0-cp310-cp310-macosx_13_0_x86_64.whl CPython 3.10 CPython 3.10 macOS 13.0+ x86-64 Details

Total release size: 120.3 MB

Release files / tonpy-0.0.0.1.4rc0-cp313-cp313-win_amd64.whl

Download URL tonpy-0.0.0.1.4rc0-cp313-cp313-win_amd64.whl
Size 6.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f4661f7efe69e8fcef330ecf7d19537ce321067413ae49b7e7fe3832aad25a71
BLAKE2b-256 checksum
How to use checksums
f637892c3bc5fa5ce551fadb31d247be964dccd2e7453bb4315136c8b78e0f8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp313-cp313-manylinux2014_x86_64.whl

Download URL tonpy-0.0.0.1.4rc0-cp313-cp313-manylinux2014_x86_64.whl
Size 8.7 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
baa4c013e11ca66dd52e7d5bae901bf237181dee8127183d538d17227f65ec0a
BLAKE2b-256 checksum
How to use checksums
52e516f7b2248a034ebc8c8f131f057249401c26669da28085ee31dadf8ee6e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp313-cp313-macosx_14_0_arm64.whl

Download URL tonpy-0.0.0.1.4rc0-cp313-cp313-macosx_14_0_arm64.whl
Size 7.1 MB
Tags CPython 3.13 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
2a81241138f906f9e1c3d4607b93a9e2aa3b5d0c4d3f7a02ffca0b43bcd9a213
BLAKE2b-256 checksum
How to use checksums
5dda953601f92d5f61b2ef4e4642e3364019d1117c7c74b40a008586e1bf9d34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp313-cp313-macosx_13_0_x86_64.whl

Download URL tonpy-0.0.0.1.4rc0-cp313-cp313-macosx_13_0_x86_64.whl
Size 7.6 MB
Tags CPython 3.13 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
a4a8e3ed89b6b6ec08c859d5ed2da41b8480fc54f84f37cce9ea225dbeb42677
BLAKE2b-256 checksum
How to use checksums
80870266c3b5adbc13b91fac7a757a00a421ed95cb700100c85d2971db306e7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp312-cp312-win_amd64.whl

Download URL tonpy-0.0.0.1.4rc0-cp312-cp312-win_amd64.whl
Size 6.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
32054f6f250bcadbc80f849afddf439a4e60f5bde89e65191f79c9e9d2b3b8a5
BLAKE2b-256 checksum
How to use checksums
afd12a91a9054b583ca462e682552af245ef62188c916ec1bf09a26b231cee27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp312-cp312-manylinux2014_x86_64.whl

Download URL tonpy-0.0.0.1.4rc0-cp312-cp312-manylinux2014_x86_64.whl
Size 8.7 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
acdef8f449a73087dd53dece7f7e08fac4859f293d5e2676ea0b7101c19a88cc
BLAKE2b-256 checksum
How to use checksums
a71b88c8b803bb0257f984951791e66be52ce9d6e8d38aa489183ebceec08a35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp312-cp312-macosx_14_0_arm64.whl

Download URL tonpy-0.0.0.1.4rc0-cp312-cp312-macosx_14_0_arm64.whl
Size 7.1 MB
Tags CPython 3.12 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
12c529d750d4f98a357ee3a1057e59bc1ffe12973c4daf680caaad516ce64d2f
BLAKE2b-256 checksum
How to use checksums
94eb1850f07cded9409250bbb9d82f4192309946917841bb4c332902e83c6d6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp312-cp312-macosx_13_0_x86_64.whl

Download URL tonpy-0.0.0.1.4rc0-cp312-cp312-macosx_13_0_x86_64.whl
Size 7.6 MB
Tags CPython 3.12 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
03dde5fa932bb4bac73fca69c9341552e142a2f3786dc86126b6340c77fb558b
BLAKE2b-256 checksum
How to use checksums
461b5322d2b5e763494f35ca00f620bddec070585a53020d5947bed055f665e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp311-cp311-win_amd64.whl

Download URL tonpy-0.0.0.1.4rc0-cp311-cp311-win_amd64.whl
Size 6.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0f2be88626c94eea0976da0d188e77880cd10c9380f7a1ca5077af5af634b52a
BLAKE2b-256 checksum
How to use checksums
f27e85aad33f8361493a326e0887b6be0506f35800d40f87d9c7677e8498c3a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp311-cp311-manylinux2014_x86_64.whl

Download URL tonpy-0.0.0.1.4rc0-cp311-cp311-manylinux2014_x86_64.whl
Size 8.7 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7e47ac3f46c7d13ad1cf91f4566371482a1cbb596804d88428af8e1243d2d673
BLAKE2b-256 checksum
How to use checksums
f57f796759fd8f81527922365311575b4a783ded613e7b3d8f3ad5ffafb59dfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp311-cp311-macosx_14_0_arm64.whl

Download URL tonpy-0.0.0.1.4rc0-cp311-cp311-macosx_14_0_arm64.whl
Size 7.1 MB
Tags CPython 3.11 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
fca9d8823cc7f782dc9f66d1c78d4e70d6806c53e43b56801352feaa32612065
BLAKE2b-256 checksum
How to use checksums
a237631735177637e40ab77f9b0a233f5ea809dfbbbc14a46be617f6dd0f2ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp311-cp311-macosx_13_0_x86_64.whl

Download URL tonpy-0.0.0.1.4rc0-cp311-cp311-macosx_13_0_x86_64.whl
Size 7.6 MB
Tags CPython 3.11 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
97166a077e0e68686913f08793ec5e8c1662c2f3e38fb95d4daec86b524e8ce9
BLAKE2b-256 checksum
How to use checksums
a12437b90ab323c268036608f4e6859989292b3a397dc6ef1906db90747ddf7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp310-cp310-win_amd64.whl

Download URL tonpy-0.0.0.1.4rc0-cp310-cp310-win_amd64.whl
Size 6.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
b7248371e22a3760c22ee229fb0dd1018c7e2f46cfcf46f635d004d215ebc60c
BLAKE2b-256 checksum
How to use checksums
36dc42340328f41b66e5f42a236330dddde866b2f630c20a94250c84c92a2e13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp310-cp310-manylinux2014_x86_64.whl

Download URL tonpy-0.0.0.1.4rc0-cp310-cp310-manylinux2014_x86_64.whl
Size 8.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b18297a976d98f64b751917c854c2f24259141125d772f24b78f04ebc134a8e7
BLAKE2b-256 checksum
How to use checksums
60cddd3b60ec1184a96b9f75cab7a265c81d9458d17f906ac823d28eac79bbf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp310-cp310-macosx_14_0_arm64.whl

Download URL tonpy-0.0.0.1.4rc0-cp310-cp310-macosx_14_0_arm64.whl
Size 7.1 MB
Tags CPython 3.10 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
17ee62204dc45da02d28f041da5f92b5059ce20f2909e24972628e91322c2a11
BLAKE2b-256 checksum
How to use checksums
e73664329555d7334903af3299cec3402f97e648a632e5582e5d724b4cd8a204
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tonpy-0.0.0.1.4rc0-cp310-cp310-macosx_13_0_x86_64.whl

Download URL tonpy-0.0.0.1.4rc0-cp310-cp310-macosx_13_0_x86_64.whl
Size 7.6 MB
Tags CPython 3.10 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
b508d5a5d803f7417fd7e893ea5b611c9f12bd5443d262a4ef4a4944c21dceed
BLAKE2b-256 checksum
How to use checksums
f5cd6aa86d70c3109dcdbf69791dece969e89cd62d35dd2efce0e91430fba7c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13
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