{"id":13409977,"url":"https://github.com/disintar/tonpy","last_synced_at":"2025-10-08T09:06:23.517Z","repository":{"id":178301178,"uuid":"661648047","full_name":"disintar/tonpy","owner":"disintar","description":"Types / API for TON blockchain","archived":false,"fork":false,"pushed_at":"2025-10-03T11:59:12.000Z","size":7937,"stargazers_count":43,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-03T13:35:37.203Z","etag":null,"topics":["blockchain","python3","ton"],"latest_commit_sha":null,"homepage":"https://tonpy.dton.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/disintar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-03T10:38:23.000Z","updated_at":"2025-09-24T10:34:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2914e67-94ea-4418-9da8-7acbd246f546","html_url":"https://github.com/disintar/tonpy","commit_stats":null,"previous_names":["disintar/tonpy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/disintar/tonpy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disintar%2Ftonpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disintar%2Ftonpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disintar%2Ftonpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disintar%2Ftonpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/disintar","download_url":"https://codeload.github.com/disintar/tonpy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disintar%2Ftonpy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278916816,"owners_count":26068178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","python3","ton"],"created_at":"2024-07-30T20:01:04.332Z","updated_at":"2025-10-08T09:06:23.512Z","avatar_url":"https://github.com/disintar.png","language":"Python","funding_links":[],"categories":["🧑‍💻 Development"],"sub_categories":["Libraries \u0026 SDKs"],"readme":"[![Based on dTON fork][ton-svg]][dtonfork]\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![PyPI version](https://badge.fury.io/py/tonpy.svg)](https://pypi.org/project/tonpy/)\n\n\n[![Chat][chat-badge]][chat-url]\n[![About us][about-badge]][about-url]\n[![Docs][docs-badge]][docs-url]\n[![Keys and rates][keys-badge]][keys-url]\n[![X (Twitter)][x-badge]][x-url]\n\n[chat-badge]: https://img.shields.io/badge/chat-@dtontech-2CA5E0?logo=telegram\u0026logoColor=white\u0026style=flat\n[chat-url]: https://t.me/dtontech\n[about-badge]: https://img.shields.io/badge/About%20us-tech.dton.%D1%81o-blue\n[about-url]: https://tech.dton.io/\n[docs-badge]: https://img.shields.io/badge/Docs-docs.dton.%D1%81o-blue\n[docs-url]: https://docs.dton.io/\n[keys-badge]: https://img.shields.io/badge/Keys%20and%20rates-@dtontech__bot-2CA5E0?logo=telegram\u0026logoColor=white\u0026style=flat\n[keys-url]: https://t.me/dtontech_bot\n[x-badge]: https://img.shields.io/badge/follow-@dton__io-black?logo=x\u0026logoColor=white\u0026style=flat\n[x-url]: https://x.com/dton_io\n[telegram-tondev-url]: https://t.me/tondev_eng\n[ton-svg]: https://img.shields.io/badge/Based%20on-dTON%20fork-blue\n[telegram-tondev-badge]: https://img.shields.io/badge/chat-TONDev-2CA5E0?logo=telegram\u0026logoColor=white\u0026style=flat\n[dtonfork]: https://github.com/disintar/ton\n\n# tonpy: powerful Python TON toolkit\n\n## What is it?\n\n**tonpy** is a Python package that provides data structures and API to interact\nwith [TON blockchain](https://github.com/ton-blockchain/ton). Tonpy is separate for two\npackages: [C++ bindings](https://github.com/disintar/ton/tree/master/tvm-python)\nand [main package](https://github.com/disintar/tonpy)\nthat [takes](https://github.com/disintar/tonpy/tree/main/.github/workflows) pre-built binaries compiled\nby [workflow](https://github.com/disintar/ton/tree/master/.github/workflows) and creates complete python package with\nsome python code on top of C++ bindings.\n\n\n## Installation\n\nOne command: `pip install tonpy`\n\n## Documentation\n\nDocumentation can be found on [tonpy.dton.io](https://tonpy.dton.io)\n\n### Supported systems / architectures / Python\n\n| System | Architecture | Python versions | CI status              |\n|:--|:--|:----------------|:-----------------------|\n| 🐧 Linux | `x86_64` | 3.10 – 3.13      | ✅ |\n| 🐧 Linux | `aarch64` | 3.10 – 3.13      | ✅  |\n| 🍎 macOS | `x86_64` (Intel) | 3.10 – 3.13      | ✅  |\n| 🍎 macOS | `aarch64` (Apple Silicon) | 3.10 – 3.13      | ✅ |\n| 🪟 Windows | `x86_64` | 3.10 – 3.13      | ✅  |\n| 🪟 Windows | `aarch64` | —               | ⛔                      |\n\n\n## Speed compare\n\n`compare/pytoniq.py`\n\nCell load tests \n\n| module  | 100.000 Cells, 1 ref, 1024 bits | vs tonpy |\n|---------|---------------------------------|----------|\n| tonpy   | 0.02                            | 1        |\n| pytoniq | 1.39                            | 69.5     |\n\n`compare/tvm_run.py`\n\nTVM Run\n\n\u003e Be careful, `enable_stack_dump=True` increase time of execution\n\n| mode            | Secs   | TVM Instances Count |\n|-----------------|--------|---------------------|\n| sync            | 3.53   | 10                  |\n| multiprocessing | 1.10   | 10                  |\n| async           | 0.59   | 10                  |\n|                 |        |                     |\n| sync            | 36.36  | 100                 |\n| multiprocessing | 5.36   | 100                 |\n| async           | 5.15   | 100                 |\n\n\n## Donation\n\nIf you want to support our work, send any coins to:\n\n`dton.ton`\n\n## License \n\nCopyright (c) 2023 Disintar LLP Licensed under the Apache License\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisintar%2Ftonpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdisintar%2Ftonpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisintar%2Ftonpy/lists"}