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.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

PyOTA_CCurl-1.0.1-cp36-cp36m-macosx_10_12_x86_64.whl (6.4 kB view details)

Uploaded CPython 3.6m macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for PyOTA-CCurl-1.0.1.tar.gz
Algorithm Hash digest
SHA256 53d0ae4e9f296a3533b91322254a850527557b67c4b413d2fa6400ef7a747331
MD5 e821e61bf6fa45793bfe9bc60417e921
BLAKE2b-256 816676ab6e3d06b905cfb3c4f29eac94b1abf9201716f6a2205f2b3a6d561786

See more details on using hashes here.

File details

Details for the file PyOTA_CCurl-1.0.1-cp36-cp36m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for PyOTA_CCurl-1.0.1-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fd804ae9d92e26985b1ea723443e7eec23726d7ff9fa73e6624fdaf190dfeecc
MD5 1283c1435cafe28b7bab78d6bfa21338
BLAKE2b-256 3669ce49e19ede29e2296898ef95ab959c7aa640153287406dfe6a84b4dafadc

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