Skip to main content

C Curl extension for PyOTA

Project description

This is an extension for the crypto functionality in PyOTA, the Python API for IOTA. When installed, it will significantly boost the performance of PyOTA’s crypto functionality.

This extension is installed as an add-on to the pyota package:

pip install pyota[ccurl]

After running the above command, you can verify that the C extension is installed correctly by running the check_ccurl command in your shell:

> check_ccurl
😸  CCurl is installed correctly!
For support, visit the #iota-libs-pyota channel on the IOTA Slack.
https://slack.iota.org/

Compatibility

This extension is compatible with Python 3.6, 3.5 and 2.7.

Testing

The easiest way to test the extension is to install it and then run the PyOTA unit tests.

Here’s a modified tox.ini file that for PyOTA that will install the C extension before running unit tests:

[tox]
envlist = py27, py35, py36

[testenv]
commands =
  pip install --pre pyota-ccurl
  nosetests
deps =
  mock
  nose

Note that this file needs to be installed in the PyOTA codebase!

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-CCurl-1.0.8.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file PyOTA-CCurl-1.0.8.tar.gz.

File metadata

  • Download URL: PyOTA-CCurl-1.0.8.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyOTA-CCurl-1.0.8.tar.gz
Algorithm Hash digest
SHA256 7dab5fcf1a7b8695bf1de0cc7dd1f14f2865dd7c3b89dac3542d724b38aa89b0
MD5 a0406dd0415c709ab7f5252905bc9e60
BLAKE2b-256 0db70bf28b68da6dc36e23eb987c80a058bddac7ba2bbd2aab4ddee741dca71d

See more details on using hashes here.

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