ckb-0.4.2
توضیحات
Nervos CKB SDK
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ckb-0.4.2 |
| نام | ckb |
| نسخه کتابخانه | 0.4.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ian |
| ایمیل نویسنده | ian@nervos.org |
| آدرس صفحه اصلی | https://github.com/doitian/ckb-sdk-python |
| آدرس اینترنتی | https://pypi.org/project/ckb/ |
| مجوز | MIT |
# CKB SDK Python
This is my personal side project, which is not an official SDK. The project is
still in an early stage, the interfaces are unstable, and I may add breaking
changes without notifications.
The library works only with Python 3.
## Quick Start
Install in a virtualenv
```
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
Example
```
from ckb.rpc import rpc
rpc.get_tip_block_number()
```
## Design Choices
This project does not add model classes, instead it uses the JSON response
dict directly. You can check the dict schema in `ckb/types.py`.
I want to experiment another way to build a CKB SDK. This project will not
support any features that require knowing how a lock or type script works. I'm
going to create various generator library to building transaction, such as
`ckb-sdk-python-secp256k1-generator`.
نیازمندی
| مقدار | نام |
|---|---|
| - | jsonrpcclient[requests] |
| - | typing-extensions |
نحوه نصب
نصب پکیج whl ckb-0.4.2:
pip install ckb-0.4.2.whl
نصب پکیج tar.gz ckb-0.4.2:
pip install ckb-0.4.2.tar.gz