Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chihchengliang/milagro_bls_binding
BLS12-381 Milagro Rust Binding for Python
https://github.com/chihchengliang/milagro_bls_binding
Last synced: 2 months ago
JSON representation
BLS12-381 Milagro Rust Binding for Python
- Host: GitHub
- URL: https://github.com/chihchengliang/milagro_bls_binding
- Owner: ChihChengLiang
- License: mit
- Created: 2019-08-19T10:50:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T15:36:49.000Z (9 months ago)
- Last Synced: 2024-08-26T10:08:15.863Z (5 months ago)
- Language: Python
- Homepage: https://chihchengliang.github.io/milagro_bls_binding/dev/bench/index.html
- Size: 210 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BLS12-381 Milagro Rust Binding for Python
![Python package](https://github.com/ChihChengLiang/milagro_bls_binding/workflows/Python%20package/badge.svg)
[![PyPI version](https://badge.fury.io/py/milagro-bls-binding.svg)](https://badge.fury.io/py/milagro-bls-binding)This Python package is a performance-focused alternative to [ethereum/py_ecc](https://github.com/ethereum/py_ecc/). It binds [sigp/milagro_bls](https://github.com/sigp/milagro_bls)(Apache 2.0) rust library.
This library is unaudited. Please don't use it in production.
For other technical details, see [FAQ](./FAQ.md)
## Get Started
```sh
pip install milagro-bls-binding
```See `test.py` for example usage.
## Build
The releasing is unstable at this moment. In case a desired version for your platfrom can't be found via `pip install milagro_bls_binding`, try build it from the source.
It requires `nightly` version of rust.
```sh
pip install .
```## Test
```sh
pytest test.py
```