Skip to main content

SchnorrPy for SR25519 Signatures

A Python wrapper to the Rust schnorrkel SR25519 signature library. Schnorrkel/SR25519 signatures are the Schnorr signature on Ristretto compressed Ed25519 points.

Installation

To install the binary Wheel from PyPI use pip:

$ pip install schnorrpy

Install from Source

To develop, clone the repo and do the following:

$ git clone https://gitlab.com/kauriid/schnorrpy.git
$ python setup.py build
$ python setup.py install

Set up and activate for Python 3:

virtualenv ${HOME}/.virtualenvs/schnorrpy \
           --system-site-packages --python=/usr/bin/python3
source ${HOME}/.virtualenvs/schnorrpy/bin/activate

Install required packages for development:

pip install -r requirements-dev.txt

Building a (Distributable) Wheel

To publish a binary Python Wheel on PyPI, one needs to use the manylinux docker container.

Build a source distribution:

$ python setup.py sdist

Pull the manylinux2010 (or older manylinux1) Docker image:

$ sudo docker pull quay.io/pypa/manylinux2010_x86_64

Then use the following command to build wheels for supported Python versions:

$ sudo docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2010_x86_64 \
              /io/build-wheels.sh

The built wheels can now be published to PyPI (e.g. using twine) from the dist/ directory:

$ twine upload dist/schnorrpy*.tar.gz dist/schnorrpy*manylinux*.whl

Contributing

TBD

Example

TBD

Licence

Copyright 2018 by SingleSource Limited, Auckland, New Zealand

This work is licensed under the Apache 2.0 open source licence. Terms and conditions apply.

Metadata

Release files for schnorrpy 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for schnorrpy 0.0.2
File Size Uploaded Provenance
schnorrpy-0.0.2.tar.gz 9.1 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for schnorrpy 0.0.2
File Interpreter ABI Platform
schnorrpy-0.0.2-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
schnorrpy-0.0.2-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 5.8 MB

Release files / schnorrpy-0.0.2.tar.gz

Download URL schnorrpy-0.0.2.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1a3ea6b90dfe0e3819322031833d2968e3c77786f4e4e4812ccd02abd2965a70
BLAKE2b-256 checksum
How to use checksums
a75a2447d1feb20c0c787174afd1deab50c699e2fdc7dab01e90a305948cf708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / schnorrpy-0.0.2-cp37-cp37m-manylinux1_x86_64.whl

Download URL schnorrpy-0.0.2-cp37-cp37m-manylinux1_x86_64.whl
Size 2.9 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
6ce1e093f54b63aed382efe167ac59dd25f7917292419668504c9658a4e42f37
BLAKE2b-256 checksum
How to use checksums
fede9c6c978bba402d8a4504cba5c16450fbd26d0d70cc410599451e65ccbfd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / schnorrpy-0.0.2-cp36-cp36m-manylinux1_x86_64.whl

Download URL schnorrpy-0.0.2-cp36-cp36m-manylinux1_x86_64.whl
Size 2.9 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
d6f2bf764be3ca84945c34f26ce4f4834813c732ac1f2d1e2ca3bf6e766f4aea
BLAKE2b-256 checksum
How to use checksums
519988aefb3661bd254a9c022c75045ef5ea80a77fddefa9f85eb5aeb9ad7af7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Security for schnorrpy 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

3 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page