bcoscli-0.0.1
توضیحات
A userful package to use 'FISCO-BCOS', the FISCO-BCOS sdk
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bcoscli-0.0.1 |
| نام | bcoscli |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | duanyongqiang |
| ایمیل نویسنده | sysuduanyongqiang@163.com |
| آدرس صفحه اصلی | https://github.com/Yyonging/bcoscli |
| آدرس اینترنتی | https://pypi.org/project/bcoscli/ |
| مجوز | Apache License 2.0 |
bcoscli
-----
*** more convenient then the official sdk ***
easy to use the FISCO-BCOS blockchain for a interactive terminal!
easy to use the FISCO-BCOS blockchain as sdk!
1. config so easy
2. support autocompetation
3. support arrow up or down for history command
4. colorful
Installing
-----
Install and update using `pip`:
pip install -U bcoscli
A Simple Example
-----
as terminal just:
# default rpc port is 8545
bcoscli 127.0.0.1:8545
as sdk:
class MyConfig:
HOST_RPC = 'http://192.168.0.107:9545' # your fisco-bcos node's rpc address
ECHO = 0 # close the terminal output
if __name__ == "__main__":
import bcoscli
# define your config
bcoscli.set_config(MyConfig)
print(bcoscli.getClientVersion())
print(bcoscli.getBlockNumber(11))

نیازمندی
| مقدار | نام |
|---|---|
| >=0.0.3 | cod |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl bcoscli-0.0.1:
pip install bcoscli-0.0.1.whl
نصب پکیج tar.gz bcoscli-0.0.1:
pip install bcoscli-0.0.1.tar.gz