Skip to main content
Pre-release

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

Based on TON Python version Supported OS Supported arch Telegram Community Chat License PyPI version

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

Complex installation for not supported systems and python versions are described in documentation

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

Documentation

Documentation can be found on tonpy.dton.io

Donation

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

EQDfmsDtWQP5D_YkXX-XlULvs4HivRaKY38ftT2hS5yAANRf

License

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tonpy_dev-0.0.0.5.7a1-cp312-cp312-manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.12

tonpy_dev-0.0.0.5.7a1-cp312-cp312-macosx_11_0_arm64.whl (9.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tonpy_dev-0.0.0.5.7a1-cp310-cp310-manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.10

File details

Details for the file tonpy_dev-0.0.0.5.7a1-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tonpy_dev-0.0.0.5.7a1-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe501a840b36449f2b464b62b4ccb48fdd772852696a4b8c5973bd9caa68bffc
MD5 258b0b5b45cc6d68fcea5bccdc01f901
BLAKE2b-256 e60b1dbfe0bab0c94d031092dfa0165715b5b387da555c82721ce4f729edc278

See more details on using hashes here.

File details

Details for the file tonpy_dev-0.0.0.5.7a1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tonpy_dev-0.0.0.5.7a1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 70430516da89f5dfcc8f846201aed6116f9d46a55372f292f5ad28a31bf264d4
MD5 d3bab69fc8f4acb981c7b7e7eec3435f
BLAKE2b-256 99389bcbe440880e2e87e4340a962bb171097c26eb16e33793152c05f6ff4b51

See more details on using hashes here.

File details

Details for the file tonpy_dev-0.0.0.5.7a1-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tonpy_dev-0.0.0.5.7a1-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 655bfa62c42e3d947d1ecabfb8bd3fdcd066a9aad1fa6ffc3fb300f75d8addd7
MD5 ca32a3e1acd4c9c4c789eca4ab9151a6
BLAKE2b-256 61108fb79d3639192281bb3d883afba339b2f86c2b0610e9e3f6be92390d2d68

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.0.5.7a1 This release

3 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