Python bindings for the IOTA client library
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iota_client-1.0.0rc2-cp311-none-win_amd64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp311-none-win_amd64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60426a96188faeb144986ba0c3b8d9342c109a78f3816ea75cc1b07a8cfe8641
|
|
| MD5 |
98d1b5391090c5cf5d833fb061d8fc46
|
|
| BLAKE2b-256 |
a66b20af401481c1a150b7ace046b576029c9d2fe422ee59485da9bf0872c8aa
|
File details
Details for the file iota_client-1.0.0rc2-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 6.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cff06c57e0045359cc1b88c082adc55430fcfc52ff34bbbeb6615cc5f059e9f3
|
|
| MD5 |
703170cb297ddae7c8dcbce279c0d325
|
|
| BLAKE2b-256 |
e4bd3b865be2c2c5b3505b21d6a4baaa58accf4e0b06c7f9fbb117475334ed5f
|
File details
Details for the file iota_client-1.0.0rc2-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227673f392e6e419bf1edbc08f874b2d0063901cd93821aa1dbb787ee7b22a0b
|
|
| MD5 |
3427651268d138cf3a427da554ab646b
|
|
| BLAKE2b-256 |
1da4446f82a116c2a39c285f2418d5157444dc3df7daaf4b9a8690fbdf340bd2
|
File details
Details for the file iota_client-1.0.0rc2-cp311-cp311-macosx_10_7_x86_64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp311-cp311-macosx_10_7_x86_64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.11, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40e7c5ebba055231c10dfb813dabad1037b936973cc78003a51ec761f9ee230f
|
|
| MD5 |
2f4575984de68415efb1d0574a1ed2e9
|
|
| BLAKE2b-256 |
260ff357dccd53500b6ac9c69b2179d4eea684f6d52d461a75a605b74b61f35b
|
File details
Details for the file iota_client-1.0.0rc2-cp310-none-win_amd64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp310-none-win_amd64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd905be665a8b88d9b711ed9e0e2fe304136ce3700b8ef839f9cb13dd7c6d125
|
|
| MD5 |
e97e806fc2e83d43d98772c53b16a35b
|
|
| BLAKE2b-256 |
573d9942f0021a12984507a8fc522255873f596943cc7f474e60b8ec282d512f
|
File details
Details for the file iota_client-1.0.0rc2-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 6.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb10bad4de5b5b3e35797b690fdfd500076d0b06cb4b84edd04e69f4467d83a1
|
|
| MD5 |
1900a0b7bd3588285b272e98f86e95c8
|
|
| BLAKE2b-256 |
8846ff8e36701733ec64d1f59efed83e409d072416425e9c5a68aa8debd92e68
|
File details
Details for the file iota_client-1.0.0rc2-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf6b7efd7e938883ab0600545fbf527342f2163376cf01ae783ffda3977eb3ef
|
|
| MD5 |
55c1d08426ce0a1a8764955f7b651168
|
|
| BLAKE2b-256 |
a94bce5dbc79b9d3a7545c452101661597411794c3ee13265914055eb5d3aeaf
|
File details
Details for the file iota_client-1.0.0rc2-cp310-cp310-macosx_10_7_x86_64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.10, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7492b846ae8b4c767d5af39125efe19e8eba9f4d84e42d1526697cc14f07fb1f
|
|
| MD5 |
d76437d56941186f6d7ddb3ca57da070
|
|
| BLAKE2b-256 |
aad8192bc44d28d7915dce4c5d519d302c2314b0d033760ce258fe62341ed06c
|
File details
Details for the file iota_client-1.0.0rc2-cp39-none-win_amd64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp39-none-win_amd64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc15061320cb2cabddf36ca1c43021b6a60b9748d1cf8fa2346b86713f62a6e8
|
|
| MD5 |
b2c9fb49a5e8fe42a201e98afacbe84f
|
|
| BLAKE2b-256 |
679c84b2f43a981068120e1d7c7a9eae38427893eeec477d18ff77986dba2d51
|
File details
Details for the file iota_client-1.0.0rc2-cp39-cp39-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp39-cp39-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 6.9 MB
- Tags: CPython 3.9, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1d299b7831df9cfee4e5bd3f53fcae3b6b50895ae164055357bd1828dbeee96
|
|
| MD5 |
9146ba09d793b6019ad59745dcdfdca8
|
|
| BLAKE2b-256 |
187d6381014a157b3659e75360435d6a77a1df8862ba3ab516445bbb3d7aa341
|
File details
Details for the file iota_client-1.0.0rc2-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be355f6965111603874c4762f27269ef77aea51f81fa58dc6eac534b6020b22b
|
|
| MD5 |
7138f49890ddf45382f68a66aa56f02d
|
|
| BLAKE2b-256 |
1de3fc43c904ea5635127f60bfcb410faa8ad2295607053dcabc9f9055419e64
|
File details
Details for the file iota_client-1.0.0rc2-cp39-cp39-macosx_10_7_x86_64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp39-cp39-macosx_10_7_x86_64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.9, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
293893e35b29c79f89cefddeeef30091023a1c849ec66fd6da43994f40b4f3b8
|
|
| MD5 |
64dfc705e08cbc46194d4125edd7f25b
|
|
| BLAKE2b-256 |
c1be75ff0c2bb411328bd057126f05bb0a89a2428551a26ec4f2a379f00dd6c9
|
File details
Details for the file iota_client-1.0.0rc2-cp38-none-win_amd64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp38-none-win_amd64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52af2f2571233837aa492e303d1c4cb286a80909086bf5022ac4a6d3b4ca73e2
|
|
| MD5 |
182350d40b925b1435a6f0a1919e24d9
|
|
| BLAKE2b-256 |
69a5aa8066a5f4faa576ffbbaed822bdf8a5c5cd5701695a47050e69844e9df3
|
File details
Details for the file iota_client-1.0.0rc2-cp38-cp38-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp38-cp38-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 6.9 MB
- Tags: CPython 3.8, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6291ea614278711981ba6069b681de2c61d52a7f4ac24f1dff792ba4a33d1d91
|
|
| MD5 |
377724c32a5757b47a80ab850033f1c5
|
|
| BLAKE2b-256 |
bd40fee97451d70f484e10a7ad98e4a51bb7251d5d35939c82e07a0b20364f10
|
File details
Details for the file iota_client-1.0.0rc2-cp38-cp38-macosx_11_0_arm64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
892fed5f5b004e0dec9aa4d65150fd655e0c82ed1bc38d730fde84e81b7547a4
|
|
| MD5 |
252890e7b60045fe31e47eac480c27bb
|
|
| BLAKE2b-256 |
f346c90cfdd92bae4b98774c4ab9df7909bf9e281002236a76549f0cbd9c3cbd
|
File details
Details for the file iota_client-1.0.0rc2-cp38-cp38-macosx_10_7_x86_64.whl.
File metadata
- Download URL: iota_client-1.0.0rc2-cp38-cp38-macosx_10_7_x86_64.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.8, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b80dfe72aa5ee10cfef92879ba4a913360fb3b2f8d353ecc18ad1a230edf0cf
|
|
| MD5 |
ad1f36eef19fa555ccba0766eeacf636
|
|
| BLAKE2b-256 |
0fc6fd4b9bf4e3445f1302abb7c7215659224dda3ea0ac1aff31119398269e5b
|