robonomics-interface 1.6.3__tar.gz → 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/PKG-INFO +9 -4
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/README.md +6 -2
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/pyproject.toml +2 -2
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/account.py +1 -1
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/chain_utils.py +1 -1
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/constants.py +1 -1
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/robonomics_interface_io.py +4 -4
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/LICENSE +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/__init__.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/__init__.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/base.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/common_functions.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/datalog.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/digital_twin.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/launch.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/liability.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/pubsub.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/reqres.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/rws.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/service_functions.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/subscriptions.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/decorators.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/exceptions.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/types.py +0 -0
- {robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/utils.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robonomics-interface
|
|
3
|
-
Version:
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: This is a simple wrapper over polkascan/py-substrate-interface used to facilitate writing code for applications using Robonomics Polkadot Parachain.
|
|
5
5
|
Home-page: https://github.com/airalab/robonomics-interface
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Keywords: python3,wrapper,blockchain,substrate,robonomics,pypi-package
|
|
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
20
|
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
|
|
20
21
|
Classifier: Topic :: Software Development :: Documentation
|
|
21
22
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -27,11 +28,15 @@ Project-URL: Repository, https://github.com/airalab/robonomics-interface
|
|
|
27
28
|
Description-Content-Type: text/markdown
|
|
28
29
|
|
|
29
30
|
# robonomics-interface
|
|
30
|
-
This is a simple wrapper over polkascan/py-substrate-interface used to facilitate writing code for applications using Robonomics.
|
|
31
|
+
This is a simple wrapper over polkascan/py-substrate-interface used to facilitate writing code for applications using Robonomics Polkadot Parachain.
|
|
32
|
+
|
|
33
|
+
> [!WARNING]
|
|
34
|
+
> Starting from 2.0 the default websocket is changed to `wss://polkadot.rpc.robonomics.network/`.
|
|
35
|
+
> Use `wss://kusama.rpc.robonomics.network/` for Kusama Parachain.
|
|
31
36
|
|
|
32
37
|
Robonomics project: https://robonomics.network/
|
|
33
38
|
|
|
34
|
-
Robonomics parachain dapp: https://
|
|
39
|
+
Robonomics parachain dapp: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot.rpc.robonomics.network%2F#/explorer
|
|
35
40
|
|
|
36
41
|
Documentation: https://airalab.github.io/robonomics-interface/
|
|
37
42
|
_______
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# robonomics-interface
|
|
2
|
-
This is a simple wrapper over polkascan/py-substrate-interface used to facilitate writing code for applications using Robonomics.
|
|
2
|
+
This is a simple wrapper over polkascan/py-substrate-interface used to facilitate writing code for applications using Robonomics Polkadot Parachain.
|
|
3
|
+
|
|
4
|
+
> [!WARNING]
|
|
5
|
+
> Starting from 2.0 the default websocket is changed to `wss://polkadot.rpc.robonomics.network/`.
|
|
6
|
+
> Use `wss://kusama.rpc.robonomics.network/` for Kusama Parachain.
|
|
3
7
|
|
|
4
8
|
Robonomics project: https://robonomics.network/
|
|
5
9
|
|
|
6
|
-
Robonomics parachain dapp: https://
|
|
10
|
+
Robonomics parachain dapp: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot.rpc.robonomics.network%2F#/explorer
|
|
7
11
|
|
|
8
12
|
Documentation: https://airalab.github.io/robonomics-interface/
|
|
9
13
|
_______
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "robonomics-interface"
|
|
3
|
-
version = "
|
|
4
|
-
description = "
|
|
3
|
+
version = "2.0.0"
|
|
4
|
+
description = "This is a simple wrapper over polkascan/py-substrate-interface used to facilitate writing code for applications using Robonomics Polkadot Parachain."
|
|
5
5
|
authors = ["Pavel Tarasov <p040399@outlook.com>"]
|
|
6
6
|
license = "Apache-2.0"
|
|
7
7
|
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/account.py
RENAMED
|
@@ -31,7 +31,7 @@ class Account:
|
|
|
31
31
|
as a parameter.
|
|
32
32
|
|
|
33
33
|
:param seed: Account seed (mnemonic or raw) as a key to sign transactions.
|
|
34
|
-
:param remote_ws: Node url. Default node address is "wss://
|
|
34
|
+
:param remote_ws: Node url. Default node address is "wss://polkadot.rpc.robonomics.network". Another address may
|
|
35
35
|
be specified (e.g. "ws://127.0.0.1:9944" for local node).
|
|
36
36
|
:param type_registry: Types used in the chain. Defaults are the most frequently used in Robonomics.
|
|
37
37
|
:param crypto_type: Use KeypairType.SR25519 or KeypairType.ED25519 cryptography for generating the Keypair.
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/chain_utils.py
RENAMED
|
@@ -25,7 +25,7 @@ class ChainUtils:
|
|
|
25
25
|
"""
|
|
26
26
|
Initiate ChainUtils class with node address passed as an argument.
|
|
27
27
|
|
|
28
|
-
:param remote_ws: Node url. Default node address is "wss://
|
|
28
|
+
:param remote_ws: Node url. Default node address is "wss://polkadot.rpc.robonomics.network". Another address may
|
|
29
29
|
be specified (e.g. "ws://127.0.0.1:9944" for local node).
|
|
30
30
|
:param type_registry: Types used in the chain. Defaults are the most frequently used in Robonomics.
|
|
31
31
|
|
|
@@ -44,7 +44,7 @@ def read() -> None:
|
|
|
44
44
|
type=str,
|
|
45
45
|
default=constants.REMOTE_WS,
|
|
46
46
|
help="Node websocket address used to connect to any node. E.g. local is ws://127.0.0.1:9944. Default is "
|
|
47
|
-
"wss://
|
|
47
|
+
"wss://polkadot.rpc.robonomics.network",
|
|
48
48
|
)
|
|
49
49
|
@click.option("-s", type=str, required=True, help="Account seed in mnemonic/raw form.")
|
|
50
50
|
def datalog(input_string: sys.stdin, remote_ws: str, s: str) -> None:
|
|
@@ -71,7 +71,7 @@ def datalog(input_string: sys.stdin, remote_ws: str, s: str) -> None:
|
|
|
71
71
|
type=str,
|
|
72
72
|
default=constants.REMOTE_WS,
|
|
73
73
|
help="Node websocket address used to connect to any node. E.g. local is ws://127.0.0.1:9944. Default is "
|
|
74
|
-
"wss://
|
|
74
|
+
"wss://polkadot.rpc.robonomics.network",
|
|
75
75
|
)
|
|
76
76
|
@click.option("-s", type=str, required=True, help="Account seed in mnemonic/raw form.")
|
|
77
77
|
@click.option("-r", type=str, required=True, help="Target account ss58_address.")
|
|
@@ -94,7 +94,7 @@ def launch(command: sys.stdin, remote_ws: str, s: str, r: str) -> None:
|
|
|
94
94
|
type=str,
|
|
95
95
|
default=constants.REMOTE_WS,
|
|
96
96
|
help="Node websocket address used to connect to any node. E.g. local is ws://127.0.0.1:9944. Default is "
|
|
97
|
-
"wss://
|
|
97
|
+
"wss://polkadot.rpc.robonomics.network",
|
|
98
98
|
)
|
|
99
99
|
@click.option("-r", type=str, help="Target account ss58_address.")
|
|
100
100
|
def datalog(remote_ws: str, r: str) -> None:
|
|
@@ -112,7 +112,7 @@ def datalog(remote_ws: str, r: str) -> None:
|
|
|
112
112
|
type=str,
|
|
113
113
|
default=constants.REMOTE_WS,
|
|
114
114
|
help="Node websocket address used to connect to any node. E.g. local is ws://127.0.0.1:9944. Default is "
|
|
115
|
-
"wss://
|
|
115
|
+
"wss://polkadot.rpc.robonomics.network",
|
|
116
116
|
)
|
|
117
117
|
@click.option("-r", type=str, help="Target account ss58_address.")
|
|
118
118
|
def launch(remote_ws: str, r: str) -> None:
|
|
File without changes
|
|
File without changes
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/__init__.py
RENAMED
|
File without changes
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/base.py
RENAMED
|
File without changes
|
|
File without changes
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/datalog.py
RENAMED
|
File without changes
|
|
File without changes
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/launch.py
RENAMED
|
File without changes
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/liability.py
RENAMED
|
File without changes
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/pubsub.py
RENAMED
|
File without changes
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/reqres.py
RENAMED
|
File without changes
|
{robonomics_interface-1.6.3 → robonomics_interface-2.0.0}/robonomicsinterface/classes/rws.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|