ton-core 0.0.1版本介绍
ton-core 0.0.1版本介绍作者:James Bentley
来源:Pypi.org
引用:https://pypi.org/project/ton-core/0.0.1/
ton-core是一个用于pytoniq-core的别名包。该包的版本始终与pytoniq-core的版本保持一致。通过安装ton-core,用户可以更方便地访问pytoniq-core中的所有类、函数和常量。以下是安装和使用ton-core的详细说明。
安装:
使用pip命令安装ton-core包:
pip install ton-core
使用:
在代码中,您可以使用ton-core代替pytoniq-core来导入相关类和功能,例如:
# 原始方式:from pytoniq_core import Address, Cell, Builder
# 使用ton-core:from ton_core import Address, Cell, Builder
这样,您就可以通过ton-core访问pytoniq-core的所有功能。
原始包:
ton-core遵循MIT许可协议,与原始包的许可协议相同。
页:
[1]