{"id":27732749,"url":"https://github.com/yungwine/pytvm","last_synced_at":"2025-04-28T11:42:18.580Z","repository":{"id":224959325,"uuid":"764080881","full_name":"yungwine/pytvm","owner":"yungwine","description":"TON Blockchain TVM and Transactions emulator","archived":false,"fork":false,"pushed_at":"2025-02-20T14:54:22.000Z","size":71,"stargazers_count":22,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T00:38:14.956Z","etag":null,"topics":["emulator","ton","tvm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yungwine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-02-27T12:54:04.000Z","updated_at":"2025-04-01T16:41:58.000Z","dependencies_parsed_at":"2024-04-14T16:23:58.530Z","dependency_job_id":"e248d9bc-936f-4ca9-a960-303fc9477eac","html_url":"https://github.com/yungwine/pytvm","commit_stats":null,"previous_names":["yungwine/pytvm"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungwine%2Fpytvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungwine%2Fpytvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungwine%2Fpytvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yungwine%2Fpytvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yungwine","download_url":"https://codeload.github.com/yungwine/pytvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251306975,"owners_count":21568366,"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","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":["emulator","ton","tvm"],"created_at":"2025-04-28T11:42:18.107Z","updated_at":"2025-04-28T11:42:18.570Z","avatar_url":"https://github.com/yungwine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytvm\n\n[![PyPI version](https://badge.fury.io/py/pytvm.svg)](https://badge.fury.io/py/pytvm) \n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pytvm)](https://pypi.org/project/pytvm/)\n[![Downloads](https://static.pepy.tech/badge/pytvm)](https://pepy.tech/project/pytvm)\n[![Downloads](https://static.pepy.tech/badge/pytvm/month)](https://pepy.tech/project/pytvm)\n[![](https://img.shields.io/badge/%F0%9F%92%8E-TON-grey)](https://ton.org)\n\n\u003e :warning: **WARNING: The pytvm library is currently in active development. Features and functionality may change frequently. Please keep this in mind when using this library.**\n\n**pytvm** - is a Python bindings to C++ TON Virtual Machine (TVM) emulator. **pytvm** allows you:\n\n* Run Get-Methods locally (for trustless and fast data retrieval)\n* Emulate messages (`Internal` and `External`)\n* Emulate transactions\n* Emulate transactions traces\n\n## Usage\n\nFind examples in the [examples](examples/) folder.\n\n## Installation\n\n### From PyPi\n\n```commandline\npip install pytvm \n```\n\n### From source\nCurrently, **pytvm** compatible with Python3.9 - Python3.11 on platforms:\n* Linux (x86_64)\n* Windows (x86_64)\n* MacOS (x86_64, arm64)\n\nIf your system is not compatible with the pre-built wheels, you can install **pytvm** from source:\n\n1) Compile `emulator` target TON Blockchain [repo](https://github.com/ton-blockchain/ton) or download `libemulator` binaries from\n[latest release](https://github.com/ton-blockchain/ton/releases/latest).\n2) Install **pytvm** from source:\n\n    ```commandline\n    pip install pytvm\n    ```\n\n3) Create engine providing path to `libemulator` binaries to `EmulatorEngineC`:\n\n```python\nfrom pytvm.engine import EmulatorEngineC\nfrom pytvm.transaction_emulator import TransactionEmulator\nengine = EmulatorEngineC('path/to/libemulator.so')\nemulator = TransactionEmulator(engine=engine)\n```\n\n## Donation\n\nTON wallet: `EQBvW8Z5huBkMJYdnfAEM5JqTNkuWX3diqYENkWsIL0XggGG`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyungwine%2Fpytvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyungwine%2Fpytvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyungwine%2Fpytvm/lists"}