Skip to main content

Python wrapper for mcl library

Project description


mcl-python is a Python library that creates bindings for mcl library by herumi. For now the only supported curve is MCLBN384_256.


This package requires mcl to be preinstalled.

Use the package manager pip to install mcl-python.

pip install mcl


import mcl

fr = new mcl.Fr()

For more examples, please check tests.


Tests are written in unittest.

python3 -m unittest discover tests/


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.



Project details

Download files

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

Files for mcl, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size mcl-0.0.5-py2.py3-none-any.whl (7.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mcl-0.0.5.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page