{"id":19463124,"url":"https://github.com/piotrszyma/mcl-python","last_synced_at":"2025-04-25T08:32:11.235Z","repository":{"id":57440292,"uuid":"236150762","full_name":"piotrszyma/mcl-python","owner":"piotrszyma","description":"Python bindings for mcl library by herumi","archived":false,"fork":false,"pushed_at":"2024-10-15T20:37:50.000Z","size":79,"stargazers_count":4,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T04:54:27.718Z","etag":null,"topics":["bindings","cryptography","pairing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piotrszyma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-25T09:40:22.000Z","updated_at":"2024-12-16T08:03:49.000Z","dependencies_parsed_at":"2022-09-26T17:20:29.117Z","dependency_job_id":null,"html_url":"https://github.com/piotrszyma/mcl-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrszyma%2Fmcl-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrszyma%2Fmcl-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrszyma%2Fmcl-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrszyma%2Fmcl-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrszyma","download_url":"https://codeload.github.com/piotrszyma/mcl-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250782239,"owners_count":21486415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bindings","cryptography","pairing"],"created_at":"2024-11-10T18:08:35.128Z","updated_at":"2025-04-25T08:32:10.931Z","avatar_url":"https://github.com/piotrszyma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcl-python\n\n`mcl-python` is a Python library that creates bindings for [mcl](https://github.com/herumi/mcl) library by 光成滋生 MITSUNARI Shigeo(herumi@nifty.com).\n\n## Supported curves\n\nFor now the only supported curve is `BLS12_384` (named in library `BN384_256`)\n\n## Installation\n\n**This package requires [mcl](https://github.com/herumi/mcl) to be preinstalled.**\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install mcl-python.\n\n```bash\npip install mcl\n```\n\n## Usage\n\n```python\nimport mcl\n\nfr = new mcl.Fr()\nfr.setByCSPRNG()\n```\n\nFor more examples, please check [tests](tests/).\n\n## Tests\n\nTests are written in `unittest`.\n\n```\npython3 -m unittest discover tests/\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrszyma%2Fmcl-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrszyma%2Fmcl-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrszyma%2Fmcl-python/lists"}