Pre-release
This release is a pre-release and may not be stable for production use.
IOTA Client Library - Python binding
Python binding to the iota.rs client library.
Requirements
Rust and Cargo, to compile the binding. Install them here.
Installation
- Go to
iota.rs/bindings/python
Create a virtual environment and use it (optional)
python3 -m venv iota_client_venvsource iota_client_venv/bin/activate; Windows:.\iota_client_venv\Scripts\activate
Install required dependencies and build the wheel
pip install -r requirements-dev.txtpip install .
Run examples
python3 examples/[example file]
Example:
python3 examples/00_get_info.py
To deactivate the virtual environment (optional)
deactivate
Getting Started
After you installed the library, you can create a IotaClient instance and interface with it.
from iota_client import IotaClient
# Create an IotaClient instance
client = IotaClient({'nodes': ['https://api.testnet.shimmer.network']})
# Get the node info
node_info = client.get_info()
print(f'{node_info}')
Build docs
pydoc-markdown -p iota_client > ../../../documentation/docs/libraries/python/api_reference.md
Metadata
Release files for iota-client 1.0.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 84.1 MB
Release files / iota_client-1.0.0rc2-cp311-none-win_amd64.whl
| Download URL | iota_client-1.0.0rc2-cp311-none-win_amd64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
60426a96188faeb144986ba0c3b8d9342c109a78f3816ea75cc1b07a8cfe8641
|
|
BLAKE2b-256 checksum How to use checksums |
a66b20af401481c1a150b7ace046b576029c9d2fe422ee59485da9bf0872c8aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | iota_client-1.0.0rc2-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
cff06c57e0045359cc1b88c082adc55430fcfc52ff34bbbeb6615cc5f059e9f3
|
|
BLAKE2b-256 checksum How to use checksums |
e4bd3b865be2c2c5b3505b21d6a4baaa58accf4e0b06c7f9fbb117475334ed5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | iota_client-1.0.0rc2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
227673f392e6e419bf1edbc08f874b2d0063901cd93821aa1dbb787ee7b22a0b
|
|
BLAKE2b-256 checksum How to use checksums |
1da4446f82a116c2a39c285f2418d5157444dc3df7daaf4b9a8690fbdf340bd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp311-cp311-macosx_10_7_x86_64.whl
| Download URL | iota_client-1.0.0rc2-cp311-cp311-macosx_10_7_x86_64.whl |
|---|---|
| Size | 5.1 MB |
| Tags | CPython 3.11 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
40e7c5ebba055231c10dfb813dabad1037b936973cc78003a51ec761f9ee230f
|
|
BLAKE2b-256 checksum How to use checksums |
260ff357dccd53500b6ac9c69b2179d4eea684f6d52d461a75a605b74b61f35b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp310-none-win_amd64.whl
| Download URL | iota_client-1.0.0rc2-cp310-none-win_amd64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cd905be665a8b88d9b711ed9e0e2fe304136ce3700b8ef839f9cb13dd7c6d125
|
|
BLAKE2b-256 checksum How to use checksums |
573d9942f0021a12984507a8fc522255873f596943cc7f474e60b8ec282d512f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | iota_client-1.0.0rc2-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
bb10bad4de5b5b3e35797b690fdfd500076d0b06cb4b84edd04e69f4467d83a1
|
|
BLAKE2b-256 checksum How to use checksums |
8846ff8e36701733ec64d1f59efed83e409d072416425e9c5a68aa8debd92e68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | iota_client-1.0.0rc2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bf6b7efd7e938883ab0600545fbf527342f2163376cf01ae783ffda3977eb3ef
|
|
BLAKE2b-256 checksum How to use checksums |
a94bce5dbc79b9d3a7545c452101661597411794c3ee13265914055eb5d3aeaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp310-cp310-macosx_10_7_x86_64.whl
| Download URL | iota_client-1.0.0rc2-cp310-cp310-macosx_10_7_x86_64.whl |
|---|---|
| Size | 5.1 MB |
| Tags | CPython 3.10 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
7492b846ae8b4c767d5af39125efe19e8eba9f4d84e42d1526697cc14f07fb1f
|
|
BLAKE2b-256 checksum How to use checksums |
aad8192bc44d28d7915dce4c5d519d302c2314b0d033760ce258fe62341ed06c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp39-none-win_amd64.whl
| Download URL | iota_client-1.0.0rc2-cp39-none-win_amd64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cc15061320cb2cabddf36ca1c43021b6a60b9748d1cf8fa2346b86713f62a6e8
|
|
BLAKE2b-256 checksum How to use checksums |
679c84b2f43a981068120e1d7c7a9eae38427893eeec477d18ff77986dba2d51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp39-cp39-manylinux_2_34_x86_64.whl
| Download URL | iota_client-1.0.0rc2-cp39-cp39-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.9 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
e1d299b7831df9cfee4e5bd3f53fcae3b6b50895ae164055357bd1828dbeee96
|
|
BLAKE2b-256 checksum How to use checksums |
187d6381014a157b3659e75360435d6a77a1df8862ba3ab516445bbb3d7aa341
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | iota_client-1.0.0rc2-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
be355f6965111603874c4762f27269ef77aea51f81fa58dc6eac534b6020b22b
|
|
BLAKE2b-256 checksum How to use checksums |
1de3fc43c904ea5635127f60bfcb410faa8ad2295607053dcabc9f9055419e64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp39-cp39-macosx_10_7_x86_64.whl
| Download URL | iota_client-1.0.0rc2-cp39-cp39-macosx_10_7_x86_64.whl |
|---|---|
| Size | 5.1 MB |
| Tags | CPython 3.9 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
293893e35b29c79f89cefddeeef30091023a1c849ec66fd6da43994f40b4f3b8
|
|
BLAKE2b-256 checksum How to use checksums |
c1be75ff0c2bb411328bd057126f05bb0a89a2428551a26ec4f2a379f00dd6c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp38-none-win_amd64.whl
| Download URL | iota_client-1.0.0rc2-cp38-none-win_amd64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
52af2f2571233837aa492e303d1c4cb286a80909086bf5022ac4a6d3b4ca73e2
|
|
BLAKE2b-256 checksum How to use checksums |
69a5aa8066a5f4faa576ffbbaed822bdf8a5c5cd5701695a47050e69844e9df3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp38-cp38-manylinux_2_34_x86_64.whl
| Download URL | iota_client-1.0.0rc2-cp38-cp38-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.8 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
6291ea614278711981ba6069b681de2c61d52a7f4ac24f1dff792ba4a33d1d91
|
|
BLAKE2b-256 checksum How to use checksums |
bd40fee97451d70f484e10a7ad98e4a51bb7251d5d35939c82e07a0b20364f10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | iota_client-1.0.0rc2-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
892fed5f5b004e0dec9aa4d65150fd655e0c82ed1bc38d730fde84e81b7547a4
|
|
BLAKE2b-256 checksum How to use checksums |
f346c90cfdd92bae4b98774c4ab9df7909bf9e281002236a76549f0cbd9c3cbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / iota_client-1.0.0rc2-cp38-cp38-macosx_10_7_x86_64.whl
| Download URL | iota_client-1.0.0rc2-cp38-cp38-macosx_10_7_x86_64.whl |
|---|---|
| Size | 5.1 MB |
| Tags | CPython 3.8 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
7b80dfe72aa5ee10cfef92879ba4a913360fb3b2f8d353ecc18ad1a230edf0cf
|
|
BLAKE2b-256 checksum How to use checksums |
0fc6fd4b9bf4e3445f1302abb7c7215659224dda3ea0ac1aff31119398269e5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|