Skip to main content

IOTA SDK Library - Python binding

Python binding to the iota-sdk library.

Table of contents

Requirements

Getting Started

Install IOTA SDK via pip

  1. (optional) Create a virtual environment and use it. On Linux and macOS, you can run the following commands:

    python3 -m venv env
    source env/bin/activate
    

    If you are using Windows, you should run the following instead:

    python3 -m venv env
    .\env\Scripts\activate
    
  2. Install the IOTA-SDK using pip:

    pip install iota-sdk
    
  3. (optional) If you want to deactivate the virtual environment, run the following command:

    deactivate
    

Install the IOTA SDK

  1. Move to the Python bindings directory:

    cd iota-sdk/bindings/python
    
  2. (optional) Create a virtual environment and use it. On Linux and macOS, you can run the following commands:

    python3 -m venv env
    source env/bin/activate
    

    If you are using Windows, you should run the following instead:

    python3 -m venv env
    .\env\Scripts\activate
    
  3. Install the required dependencies and build the wheel by running the following commands:

    pip install -r requirements-dev.txt
    pip install .
    
  4. (optional) If you want to deactivate the virtual environment, run the following command:

    deactivate
    

Client Usage

The following example creates a Client instance connected to the Shimmer Testnet, and retrieves the node's information by calling Client.get_info(), and then print the node's information.

examples/client/getting_started.py

Wallet Usage

The following example will create a new Wallet Account using a StrongholdSecretManager, and then print the account's information.

examples/wallet/getting_started.py

Examples

You can use the provided code examples to acquainted with the IOTA SDK. You can use the following command to run any example:

python3 example/[example file]
  • Where [example file] is the file name from the example folder. For example:
python3 examples/client/00_get_info.py

API Reference

You can find the API reference for the Python bindings in the IOTA Wiki.

Learn More

To learn more about Rust, see the Rust documentation.

Metadata

Release files for iota-sdk 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for iota-sdk 1.1.4
File Actions
iota_sdk-1.1.4-cp312-none-win_amd64.whl CPython 3.12 none Windows x86-64 Details for iota_sdk-1.1.4-cp312-none-win_amd64.whl
iota_sdk-1.1.4-cp312-cp312-manylinux_2_35_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.35+ x86-64 Details for iota_sdk-1.1.4-cp312-cp312-manylinux_2_35_x86_64.whl
iota_sdk-1.1.4-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for iota_sdk-1.1.4-cp312-cp312-macosx_11_0_arm64.whl
iota_sdk-1.1.4-cp311-none-win_amd64.whl CPython 3.11 none Windows x86-64 Details for iota_sdk-1.1.4-cp311-none-win_amd64.whl
iota_sdk-1.1.4-cp311-cp311-manylinux_2_35_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.35+ x86-64 Details for iota_sdk-1.1.4-cp311-cp311-manylinux_2_35_x86_64.whl
iota_sdk-1.1.4-cp311-cp311-manylinux_2_31_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.31+ x86-64 Details for iota_sdk-1.1.4-cp311-cp311-manylinux_2_31_x86_64.whl
iota_sdk-1.1.4-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for iota_sdk-1.1.4-cp311-cp311-macosx_11_0_arm64.whl
iota_sdk-1.1.4-cp310-none-win_amd64.whl CPython 3.10 none Windows x86-64 Details for iota_sdk-1.1.4-cp310-none-win_amd64.whl
iota_sdk-1.1.4-cp310-cp310-manylinux_2_35_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.35+ x86-64 Details for iota_sdk-1.1.4-cp310-cp310-manylinux_2_35_x86_64.whl
iota_sdk-1.1.4-cp310-cp310-manylinux_2_31_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.31+ x86-64 Details for iota_sdk-1.1.4-cp310-cp310-manylinux_2_31_x86_64.whl
iota_sdk-1.1.4-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for iota_sdk-1.1.4-cp310-cp310-macosx_11_0_arm64.whl
iota_sdk-1.1.4-cp39-none-win_amd64.whl CPython 3.9 none Windows x86-64 Details for iota_sdk-1.1.4-cp39-none-win_amd64.whl
iota_sdk-1.1.4-cp39-cp39-manylinux_2_35_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.35+ x86-64 Details for iota_sdk-1.1.4-cp39-cp39-manylinux_2_35_x86_64.whl
iota_sdk-1.1.4-cp39-cp39-manylinux_2_31_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.31+ x86-64 Details for iota_sdk-1.1.4-cp39-cp39-manylinux_2_31_x86_64.whl
iota_sdk-1.1.4-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details for iota_sdk-1.1.4-cp39-cp39-macosx_11_0_arm64.whl
iota_sdk-1.1.4-cp38-none-win_amd64.whl CPython 3.8 none Windows x86-64 Details for iota_sdk-1.1.4-cp38-none-win_amd64.whl
iota_sdk-1.1.4-cp38-cp38-manylinux_2_35_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.35+ x86-64 Details for iota_sdk-1.1.4-cp38-cp38-manylinux_2_35_x86_64.whl
iota_sdk-1.1.4-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details for iota_sdk-1.1.4-cp38-cp38-macosx_11_0_arm64.whl

Total release size: 152.3 MB

Release files / iota_sdk-1.1.4-cp312-none-win_amd64.whl

Download URL iota_sdk-1.1.4-cp312-none-win_amd64.whl
Size 8.5 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
3cc42f6be146dbb13e30f435ca07bfc57ee43ef84c24b38cf6c66c63bc4d64dd
BLAKE2b-256 checksum
How to use checksums
56e2f588cdce770d574c863dbf2ea301f7c3b5babb36c5a06e9fbdaec59c8fc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp312-cp312-manylinux_2_35_x86_64.whl

Download URL iota_sdk-1.1.4-cp312-cp312-manylinux_2_35_x86_64.whl
Size 9.1 MB
Tags CPython 3.12 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
97b63bffeb6f6e30a33be4423d8d91a6c02276b693f269128ebd0fbc8a0caa28
BLAKE2b-256 checksum
How to use checksums
0ae977fbca172acf9dc323b246e0fff78d32bee50038ec8e6438d79b9284d8d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp312-cp312-macosx_11_0_arm64.whl

Download URL iota_sdk-1.1.4-cp312-cp312-macosx_11_0_arm64.whl
Size 7.6 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ba24f2a3377db2dcb07e85ca50746264aa8dde06e085e79ec3b37415b74bd862
BLAKE2b-256 checksum
How to use checksums
2db5e52106ae9d8d69be8628f341ab24af1cc99187ef48532f68fa4cd2379630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp311-none-win_amd64.whl

Download URL iota_sdk-1.1.4-cp311-none-win_amd64.whl
Size 8.5 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8941db47c37edfeb42a8642b2a26bc8a6d8f4bea70261eed2cf1c771bcfb1d61
BLAKE2b-256 checksum
How to use checksums
9fecb5147000a10f09bbf591c775f1b67b821852a454ae48f09dabab792c232d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp311-cp311-manylinux_2_35_x86_64.whl

Download URL iota_sdk-1.1.4-cp311-cp311-manylinux_2_35_x86_64.whl
Size 9.1 MB
Tags CPython 3.11 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
6b92fc85d22e05f5b32b0693e1e1a3c37d700fa3b662b97e114962e3930e9ba0
BLAKE2b-256 checksum
How to use checksums
eae579a6ee5cd70c43ea00fc8c5d19456093ab0a04e68e1883954e1cb693dec8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp311-cp311-manylinux_2_31_x86_64.whl

Download URL iota_sdk-1.1.4-cp311-cp311-manylinux_2_31_x86_64.whl
Size 8.9 MB
Tags CPython 3.11 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
d013f49abda01b385253c6447884d3e9137e2eae5ad40dbdc1b2620f64c0a1b3
BLAKE2b-256 checksum
How to use checksums
ee4c8eb9e4fe6c75592215dc73be99802677392d9222edda3eda4a83bb14252f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp311-cp311-macosx_11_0_arm64.whl

Download URL iota_sdk-1.1.4-cp311-cp311-macosx_11_0_arm64.whl
Size 7.6 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bd6cdb26bbc73566f9f22ee212c81effcd8c86f60d97de77a5c53b55aacceccc
BLAKE2b-256 checksum
How to use checksums
5815927a6103354879e86965fdba9034b705a60c8070dc59756e3ec09dbbc649
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp310-none-win_amd64.whl

Download URL iota_sdk-1.1.4-cp310-none-win_amd64.whl
Size 8.5 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a86f8c9b2c09ecdc905cf5033e3897103434fddf27a96805d797b94ba1f66e12
BLAKE2b-256 checksum
How to use checksums
2a3fb034dbd2f392b06b684e1b3a99ecb57a1772df271833204f36e2572648bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp310-cp310-manylinux_2_35_x86_64.whl

Download URL iota_sdk-1.1.4-cp310-cp310-manylinux_2_35_x86_64.whl
Size 9.1 MB
Tags CPython 3.10 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
36d253c8251a917e68b8a9a4a987a1b104f7f402c2e213ab1bf700328c4a0d48
BLAKE2b-256 checksum
How to use checksums
06764bc1130add19c66469c993006ab273061614b2bdcc87ce76341a65281bb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp310-cp310-manylinux_2_31_x86_64.whl

Download URL iota_sdk-1.1.4-cp310-cp310-manylinux_2_31_x86_64.whl
Size 8.9 MB
Tags CPython 3.10 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
d1842811936043a39fa7ed5cb9f30d37fb91b002a1438867afac482be56873cd
BLAKE2b-256 checksum
How to use checksums
176a17c48975ddb84ff24b92f655ab3184136946bc7e45a6dde49cff57f14602
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp310-cp310-macosx_11_0_arm64.whl

Download URL iota_sdk-1.1.4-cp310-cp310-macosx_11_0_arm64.whl
Size 7.6 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f2f0f68e4b894c5085f2b38ce05363e8c408451ac268fbc04998c5d3ce37aedd
BLAKE2b-256 checksum
How to use checksums
d7c95f09afbc804b71414331afa2a5f15c1ca0f50c4b479817543bd04c9dddee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp39-none-win_amd64.whl

Download URL iota_sdk-1.1.4-cp39-none-win_amd64.whl
Size 8.5 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
e3c3b237b616870cb038b1c59069a1dc4509199d07eea8ecbae46d78dc7b6b12
BLAKE2b-256 checksum
How to use checksums
48494cc928817827a8b4f0b6f11e0d62e33b2aa8adf9305a56fc9e79d6e9cdb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp39-cp39-manylinux_2_35_x86_64.whl

Download URL iota_sdk-1.1.4-cp39-cp39-manylinux_2_35_x86_64.whl
Size 9.1 MB
Tags CPython 3.9 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
66bd9799b8606e04888b4595baf0925f3c367d93f46753be8381b20e007ea3c2
BLAKE2b-256 checksum
How to use checksums
b4719c6dc9ac543ef79ddee7a331634167c540ed85df1fedde22ffa84d0ecebc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp39-cp39-manylinux_2_31_x86_64.whl

Download URL iota_sdk-1.1.4-cp39-cp39-manylinux_2_31_x86_64.whl
Size 8.9 MB
Tags CPython 3.9 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
fc216f05567f4acc3ff9b8f40d88f266f82e377bd63fcc216c996241a1b27486
BLAKE2b-256 checksum
How to use checksums
79fd303c7eb40fd7ec9b8d451a374ec95f4a6b7e9d58d3c6de1d0abd62f6f666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp39-cp39-macosx_11_0_arm64.whl

Download URL iota_sdk-1.1.4-cp39-cp39-macosx_11_0_arm64.whl
Size 7.6 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fb59b41f9f9ae8c7eb68901a97951469e01c731bfab4fe162d1a053ebf2a118e
BLAKE2b-256 checksum
How to use checksums
b521e3dd3abfce7a4e0670ec4b0ee49c10d1eb463ff8b2d90af3b10652e43a4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp38-none-win_amd64.whl

Download URL iota_sdk-1.1.4-cp38-none-win_amd64.whl
Size 8.5 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
146735088850bed85b3a969eb1cd467ed99523c339801d923131e540b533fb9f
BLAKE2b-256 checksum
How to use checksums
6b244aa24f10c6c52940d8e4a8aaa4e19974ba80cc85013de737ae71c59f225d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp38-cp38-manylinux_2_35_x86_64.whl

Download URL iota_sdk-1.1.4-cp38-cp38-manylinux_2_35_x86_64.whl
Size 9.1 MB
Tags CPython 3.8 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
0064ddbaf9f2fc5f8fe97249f7e5684730ab7bebc1700df132c73f0d083feba8
BLAKE2b-256 checksum
How to use checksums
36eee0775655b5d3af64263eb01ecba3003f83df9fd476a9592ca31deac25c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / iota_sdk-1.1.4-cp38-cp38-macosx_11_0_arm64.whl

Download URL iota_sdk-1.1.4-cp38-cp38-macosx_11_0_arm64.whl
Size 7.6 MB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0c4e0df11cf4d8fd147437b72ba5f816125d74754e6c919ca0bf00ab8c631e83
BLAKE2b-256 checksum
How to use checksums
616d614e359095e7fba3c226119b72af016de52d363c32989c857226e16e53b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Security for iota-sdk 1.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page