recordskeeper python库v3
RecordsKeeperPython3Lib的Python项目详细描述
recordskeeper-python-lib3
===
==
这是一个构建基于recordskeeper区块链的应用程序的基础架构,产品,用于围绕构建在该区块链平台之上的应用程序工作。
**注意:**如果要查找RecordsKeper Python库,请参阅:[RecordsKeper Python库](https://github.com/recordskeeper/recordskeeper-python-sdk/tree/python-3.0)
python的安装有几个选项,具体取决于您使用的操作系统。
``bash
pip install-g recordskeeperpython3lib
```
函数。
``bash
import requests
import json
from requests.auth import httpbasicauth
import yaml
import sys
import binascii
````
类资源。
'r')作为ymlfile:
cfg=yaml.load(ymlfile)
```
=网络["链"]
````
节点身份验证
----
>从配置文件导入用户名和密码值以对节点进行身份验证:
*用户名:rpc用户用于调用api。
*密码:rpc密码用于对api.
``bash
password=network['passwd']
````
\libraries
-[地址](https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/address.py)要使用的库recordskeeper地址。可以使用地址类生成新地址、检查所有地址、检查地址有效性、检查地址权限、检查地址平衡。只需传递参数即可调用预定义函数。
-[资产](https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/assets.py)库即可使用recordskeeper资产。可以使用assets类创建新资源并列出所有资源。只需传递参数即可调用预定义函数。
-[block]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/block.py)库即可使用recordskeeper块信息。可以使用block类收集块信息。只需传递参数即可调用预定义函数。
-[区块链]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/blockchain.py)库即可使用recordskeeper块信息。可以使用block类收集块信息。只需传递参数即可调用预定义函数。
-[权限]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/permissions.py)库即可使用recordskeeper权限。您可以使用assets类来授予和撤消连接、发送、接收、创建、发布、挖掘、激活、管理等权限。只需传递参数即可调用预定义函数。
-[stream]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/stream.py)库即可使用recordskeeper流。您可以使用stream类发布、检索和验证流数据。只需传递参数即可调用预定义函数。
-[事务]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/transaction.py)用于处理recordskeeper事务的库。您可以使用事务类发送事务、创建原始事务、签署原始事务、发送原始事务、发送签名事务、检索事务信息和计算事务费用。只需传递参数即可调用预定义函数。
-[wallet]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/wallet.py)库即可使用recordskeeper wallet功能。您可以使用Wallet类创建Wallet、将Wallet转储到文件中、将Wallet备份到文件中、从文件导入Wallet、锁定Wallet、解锁Wallet、更改Wallet密码、检索私钥、检索Wallet信息、签名和验证消息。您只需传递参数即可调用预定义函数。
-运行所有测试用例:
``bash
python-m unittest discover-v
`````
-运行特定测试用例:
``bash
``python-m unittest testname
````
-运行带有**绿色的测试用例**:
``bash
greentestname
```
\更高版本](https://github.com/recordskeeper/recordskeeper python sdk/tree/python-3.0/docs/source)
-[针对python版本2阅读](https://github.com/recordskeeper/recordskeeper python sdk/tree/master/docs/source)
GNU通用公共许可证第3版,请参见复制部分版权(C)2014-2017 Coin Sciences Ltd
部分版权(C)2009-2016比特币核心开发人员
部分版权许多其他人-请参见个别文件
===
==
这是一个构建基于recordskeeper区块链的应用程序的基础架构,产品,用于围绕构建在该区块链平台之上的应用程序工作。
**注意:**如果要查找RecordsKeper Python库,请参阅:[RecordsKeper Python库](https://github.com/recordskeeper/recordskeeper-python-sdk/tree/python-3.0)
python的安装有几个选项,具体取决于您使用的操作系统。
``bash
pip install-g recordskeeperpython3lib
```
函数。
``bash
import requests
import json
from requests.auth import httpbasicauth
import yaml
import sys
import binascii
````
类资源。
'r')作为ymlfile:
cfg=yaml.load(ymlfile)
```
=网络["链"]
````
节点身份验证
----
>从配置文件导入用户名和密码值以对节点进行身份验证:
*用户名:rpc用户用于调用api。
*密码:rpc密码用于对api.
``bash
````
\libraries
-[地址](https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/address.py)要使用的库recordskeeper地址。可以使用地址类生成新地址、检查所有地址、检查地址有效性、检查地址权限、检查地址平衡。只需传递参数即可调用预定义函数。
-[资产](https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/assets.py)库即可使用recordskeeper资产。可以使用assets类创建新资源并列出所有资源。只需传递参数即可调用预定义函数。
-[block]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/block.py)库即可使用recordskeeper块信息。可以使用block类收集块信息。只需传递参数即可调用预定义函数。
-[区块链]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/blockchain.py)库即可使用recordskeeper块信息。可以使用block类收集块信息。只需传递参数即可调用预定义函数。
-[权限]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/permissions.py)库即可使用recordskeeper权限。您可以使用assets类来授予和撤消连接、发送、接收、创建、发布、挖掘、激活、管理等权限。只需传递参数即可调用预定义函数。
-[stream]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/stream.py)库即可使用recordskeeper流。您可以使用stream类发布、检索和验证流数据。只需传递参数即可调用预定义函数。
-[事务]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/transaction.py)用于处理recordskeeper事务的库。您可以使用事务类发送事务、创建原始事务、签署原始事务、发送原始事务、发送签名事务、检索事务信息和计算事务费用。只需传递参数即可调用预定义函数。
-[wallet]((https://github.com/recordskeeper/recordskeeper-python-sdk/blob/python-3.0/recordskeeperpython3lib/wallet.py)库即可使用recordskeeper wallet功能。您可以使用Wallet类创建Wallet、将Wallet转储到文件中、将Wallet备份到文件中、从文件导入Wallet、锁定Wallet、解锁Wallet、更改Wallet密码、检索私钥、检索Wallet信息、签名和验证消息。您只需传递参数即可调用预定义函数。
-运行所有测试用例:
``bash
python-m unittest discover-v
`````
-运行特定测试用例:
``bash
``python-m unittest testname
````
-运行带有**绿色的测试用例**:
``bash
greentestname
```
\更高版本](https://github.com/recordskeeper/recordskeeper python sdk/tree/python-3.0/docs/source)
-[针对python版本2阅读](https://github.com/recordskeeper/recordskeeper python sdk/tree/master/docs/source)
GNU通用公共许可证第3版,请参见复制部分版权(C)2014-2017 Coin Sciences Ltd
部分版权(C)2009-2016比特币核心开发人员
部分版权许多其他人-请参见个别文件