Skip to main content

IOTA API library for Python

Project description

https://travis-ci.org/iotaledger/iota.lib.py.svg?branch=develop

PyOTA

This is the official Python library for the IOTA Core.

It implements both the official API, as well as newly-proposed functionality (such as signing, bundles, utilities and conversion).

Join the Discussion

If you want to get involved in the community, need help with getting setup, have any issues related with the library or just want to discuss Blockchain, Distributed Ledgers and IoT with other people, feel free to join our Slack.

You can also ask questions on our dedicated forum.

If you encounter any issues while using PyOTA, please report them using the PyOTA Bug Tracker.

Dependencies

PyOTA is compatible with Python 3.6, 3.5 and 2.7.

Installation

To install the latest version:

pip install --pre pyota

Optional C Extension

PyOTA has an optional C extension that improves the performance of its cryptography features significantly (speedups of 60x are common!).

To install this extension, use the following command:

pip install --pre pyota[ccurl]

Installing from Source

  1. Create virtualenv (recommended, but not required).

  2. git clone https://github.com/iotaledger/iota.lib.py.git

  3. pip install -e .

Running Unit Tests

To run unit tests after installing from source:

python setup.py test

PyOTA is also compatible with tox:

pip install tox
tox

Documentation

For the full documentation of this library, please refer to the official API

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyOTA-2.0.0b1.tar.gz (218.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page