Skip to main content

Cross-platform Python libsecp256k1 for ElectrumSV

Project description

Badges went here..


This library provides a wrapped pre-compiled libsecp256k1, the heavily optimized C library used by Bitcoin Core for operations on elliptic curve secp256k1. It effectively encapsulates a libsecp256k1 fork and allows ElectrumSV developers to have a vetted build, with selected public modifications, available on pypi to treat as a first classed dependency which can be obtained and verified against a known hash, like any other Python dependency.

Table of Contents

Features

  • Linux, macOS, and Windows all have binary packages for both 64 and 32-bit architectures

  • Linux & macOS use GMP for faster computation

  • Implements a fix for https://bugs.python.org/issue28150 to support Python 3.6+ on macOS

Installation

electrumsv-secp256k1 is distributed on PyPI and is available on Linux/macOS and Windows and supports Python 3.6 and Python 3.7.

$ pip install electrumsv-secp256k1

If you are on a system that doesn’t have a precompiled binary wheel (e.g. FreeBSD) then pip will fetch source to build yourself. You must have the necessary packages.

On Debian/Ubuntu for example the necessary packages are:

  • build-essential

  • automake

  • pkg-config

  • libtool

  • libgmp-dev (optional)

API

Anything importing this should be familiar with the underlying libsecp256k1 api.

Credits

History

Coincurve history available here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

electrumsv-secp256k1-0.9.0.tar.gz (936.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

electrumsv_secp256k1-0.9.0-py2.py3-none-win_amd64.whl (230.6 kB view details)

Uploaded Python 2Python 3Windows x86-64

electrumsv_secp256k1-0.9.0-py2.py3-none-win32.whl (253.1 kB view details)

Uploaded Python 2Python 3Windows x86

electrumsv_secp256k1-0.9.0-cp37-cp37m-manylinux1_x86_64.whl (513.5 kB view details)

Uploaded CPython 3.7m

electrumsv_secp256k1-0.9.0-cp37-cp37m-manylinux1_i686.whl (520.4 kB view details)

Uploaded CPython 3.7m

electrumsv_secp256k1-0.9.0-cp37-cp37m-macosx_10_13_x86_64.whl (134.2 kB view details)

Uploaded CPython 3.7mmacOS 10.13+ x86-64

electrumsv_secp256k1-0.9.0-cp36-cp36m-manylinux1_x86_64.whl (513.5 kB view details)

Uploaded CPython 3.6m

electrumsv_secp256k1-0.9.0-cp36-cp36m-manylinux1_i686.whl (520.4 kB view details)

Uploaded CPython 3.6m

electrumsv_secp256k1-0.9.0-cp36-cp36m-macosx_10_13_x86_64.whl (134.2 kB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

File details

Details for the file electrumsv-secp256k1-0.9.0.tar.gz.

File metadata

  • Download URL: electrumsv-secp256k1-0.9.0.tar.gz
  • Upload date:
  • Size: 936.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv-secp256k1-0.9.0.tar.gz
Algorithm Hash digest
SHA256 5877add5bb17826f3e0ce6351fc1da454aa37c370eb2565292f53beb5a55ef0d
MD5 faa6a3ebc0b77afcbb166b1878bd9000
BLAKE2b-256 1e00fa18adc461b5ebfd09c9a52ea281d2655c3f3d8ea0f2e5d957e6b4482578

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.0-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.0-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 230.6 kB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv_secp256k1-0.9.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 69b9cd72d789787772d9100c73a04a1688f186366bbee99fd2919560bbd6adfa
MD5 14fb1dc82e5cedbf4ddc2f64f72c27f1
BLAKE2b-256 804da37559bcff210c890cd423b6083868234b345da8fe4ad2e1a253fa8c6fbb

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.0-py2.py3-none-win32.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.0-py2.py3-none-win32.whl
  • Upload date:
  • Size: 253.1 kB
  • Tags: Python 2, Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv_secp256k1-0.9.0-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 28372c710b52245eb4f87bcc56012e3cbd59c176389a1011c6de10b2b67a451c
MD5 fc992270c24a8174a23903d7d13f2a08
BLAKE2b-256 dbed55350b3a721832b192813b96fac99dabd61dd48b190b031b04c775de31d6

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 513.5 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv_secp256k1-0.9.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d8ed687872c6bd7206d9ad5101912a7881b4c6867ecdba8ff347bd5fffba2de5
MD5 82ac07e429e1ff4cb2274ae7e95cc73b
BLAKE2b-256 34d884e000dd07ca05168b79f26fd44232b7ec372f746a9360246421770006a4

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.0-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 520.4 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv_secp256k1-0.9.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d1c90c2b72b7e6b33b87108df219759ff1ee1ed8af31ae8890d913eec764bd06
MD5 4951d2b84807e6be56caee4bf8e0ffdf
BLAKE2b-256 29bb434c81f0eb04cf03daec2a35012d289dbf77602f98ec731701d4ef8a93fd

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.0-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.0-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 134.2 kB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv_secp256k1-0.9.0-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 bc9c7225338cca85b4da2b2a4c67345b6248f51708b38d574fccf348b2d442d4
MD5 0e5dbd30f3652b9c51e50a3545995c7b
BLAKE2b-256 1a010bfe621436ac9941346c0ddea156d79c9e350463a471d45dadd2b93fafb5

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 513.5 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv_secp256k1-0.9.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dde027f475481c3e2acb447de6e1dc529332747006cef1f5500f0a91778abdd5
MD5 6be627ce5fe15d2108389bfdc233cc38
BLAKE2b-256 759ba2a31682edc82548c6b1875cab08a2999e94d816f03075809b19c5f49413

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.0-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 520.4 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv_secp256k1-0.9.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d4341f43ef80fe2eb5cf17035e30a6466364c3b525f974557c0983790105058e
MD5 6f00b8b4a94c887ffa98d639070955d9
BLAKE2b-256 5f38833b20c4b52a1c5c48570f18bcab79df799966b0813dc157f4a82cc85b0c

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.0-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.0-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 134.2 kB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for electrumsv_secp256k1-0.9.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ad84226ecbd362ef61e04034254cb80ebe67b20b1a79a9dab98072d89058a090
MD5 30be60d1c53684275f7b28a8bd80c6ef
BLAKE2b-256 72cf3b6a31443e71e12f3e26844fc1e74944f0c38505cd7ce3b1cc52776d54ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page