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]

Compatibility

This extension is currently compatible with Python 3.6 and 3.5 only.

I’ve documented the issues with the Python 2 C API. Adding Python 2 support is on my list, but it may take me a bit before I can get to it.

If you have experience with C and are interested in getting involved, please reach out to me on the IOTA Slack network or submit a pull request.

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.0a4.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file PyOTA-CCurl-1.0.0a4.tar.gz.

File metadata

File hashes

Hashes for PyOTA-CCurl-1.0.0a4.tar.gz
Algorithm Hash digest
SHA256 8c5af008d68fa44a0c18b1efac8c804355f010ab953b3e345242ce40cbbac94c
MD5 74c710f2ec6f2aa7400d39d1db5c81e9
BLAKE2b-256 4a2d9008b2bc255ffe668e7d2b974b27f63641601f7d400f09da5bbb8bf7d42c

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