mcl-python
mcl-python is a Python library that creates bindings for mcl library by 光成滋生 MITSUNARI Shigeo(herumi@nifty.com).
Supported curves
For now the only supported curve is BLS12_384 (named in library BN384_256)
Installation
This package requires mcl to be preinstalled.
Use the package manager pip to install mcl-python.
pip install mcl
Usage
import mcl
fr = new mcl.Fr()
fr.setByCSPRNG()
For more examples, please check tests.
Tests
Tests are written in unittest.
python3 -m unittest discover tests/
Contributing
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.
License
Metadata
Release files for mcl 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcl-0.0.6.tar.gz | 7.7 kB | Without provenance | Details for mcl-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcl-0.0.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for mcl-0.0.6-py2.py3-none-any.whl |
Total release size: 15.8 kB
Release files / mcl-0.0.6.tar.gz
| Download URL | mcl-0.0.6.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db4674d768dc8af692b6422a237c6756a27f289446d03f04650170a80bee8f29
|
|
BLAKE2b-256 checksum How to use checksums |
25132021c724b8cf8aa1a950240aeb7764d1872231eb816c2f29a24584604b05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / mcl-0.0.6-py2.py3-none-any.whl
| Download URL | mcl-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c6ff6ef68c13efb949668c8e35910bb4b1b0429783b586cb3f009e67848febde
|
|
BLAKE2b-256 checksum How to use checksums |
1ab64a81f0339222eb8637e34aa79b69b9ddfeed690a0c84de9a6d4377d959b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for mcl 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.