Skip to main content

Getting Started with IOTA Wallet 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#

The easiest way to get python binding up and running is to leverage pre-built python libraries for linux, MacOs or Windows that can be installed to your python environment (3.6+) via pip . The binding is automagically generated using github actions.

You can download the latest artifacts for major python version using the nighly.link service.

  1. Download zip file for the given os and pyversion.
  2. Unpack wheel file ( .whl ).
  3. Install it via pip by running the following command:
pip install <wheel_file>

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

pip list

The pip list should now include the iota-wallet-python-binding:

Package                    Version-------------------------- -------iota-wallet-python-binding 0.1.0

Once you python environment has installed the iota-wallet-python-binding you can start developing using the python binding.

Usage#

To use the iota_wallet you will need to add an import statement:

import iota_wallet

If you'd like more information on the iota_wallet , you can print the documentation using the following snippet:

print(iota_wallet.__doc__)