Skip to main content

Getting Started with IOTA Client Python Binding

Security#

warning

In a production setup, do not store passwords in the host's environment variables or in the source code. See our backup and security recommendations for production setups.

Installation#

Easiest way how to get python binding up and running is to leverage pre-built python libraries for linux/macos/windows that can be installed to your python environment (3.6+) via pip. The binding is automagically generated using github actions.

The latest artifacts for major python versions can be also grabbed using nighly.link service. Download zip file for the given os and pyversion, unpack wheel file (.whl) and install it via pip:

pip install <wheel_file>

Once it has been properly installed you can double check it using pip:

pip list

You should see the similar output:

Package                    Version-------------------------- -------iota-client-python           0.2.0a3

Once installed in the given python environment you are all set and can start hacking using python binding!

Usage#

import iota_clientprint(iota_client.__doc__)print(dir(iota_client))