Metadata-Version: 2.1
Name: milagro-bls-binding
Version: 1.8.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: pytest>=6.2.5; extra == 'test'
Requires-Dist: pytest-benchmark>=3.2.3; extra == 'test'
Requires-Dist: py-ecc==6.0.0; extra == 'test'
Provides-Extra: test
Author: chihchengliang@gmail.com
Author-email: chihchengliang@gmail.com
Maintainer: Chih-Cheng Liang
Maintainer-email: chihchengliang@gmail.com
Requires-Python: >=3.6
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Source, https://github.com/ChihChengLiang/milagro_bls_binding/

# 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
```

