Skip to main content

btclib_libsecp256k1

python pypi downloads status license imports: isort code style: black lint: flake8 lint: pylint type-check: mypy type-check: pyright security: bandit pre-commit.ci status build test

Follow on Twitter


Browse GitHub Code Repository


Simple python bindings to libsecp256k1 (v0.2.0). It is intended to be used with the btclib library.

To install (and/or upgrade):

python -m pip install --upgrade btclib_libsecp256k1

Build, test, develop, and contribute

Some development tools are required to develop and test btclib_libsecp256k1; they can be installed with:

python -m pip install --upgrade -r requirements-dev.txt

The btclib_libsecp256k1 project includes libsecp256k1 as submodule in the secp256k1 folder. By default, when cloning a project you get the directories that contain submodules, but none of the files within them. You must run git submodule init to initialize your local configuration file, and git submodule update to fetch the submodule data and check out the appropriate commit.

$ git submodule init
Submodule 'secp256k1' (git@github.com:bitcoin-core/secp256k1.git) registered for path 'secp256k1'
$ git submodule update
Cloning into 'secp256k1'...

To build:

python setup.py sdist
python setup.py bdist_wheel --py-limited-api=cp36

Developers might also consider installing btclib_libsecp256k1 in editable way::

python -m pip install --upgrade -e ./

To test:

pytest

To measure the code coverage provided by tests:

pytest --cov-report term-missing:skip-covered --cov=btclib_libsecp256k1

Pre-commit hooks are provided, please check before a PR

pre-commit run --all-files

Download files

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

Source Distribution

btclib_libsecp256k1-0.2.1.tar.gz (7.7 MB view details)

Uploaded Source

Built Distributions

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

btclib_libsecp256k1-0.2.1-py3-none-win_amd64.whl (2.7 MB view details)

Uploaded Python 3Windows x86-64

btclib_libsecp256k1-0.2.1-py3-none-manylinux2010_x86_64.whl (1.3 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ x86-64

btclib_libsecp256k1-0.2.1-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

btclib_libsecp256k1-0.2.1-cp36-abi3-manylinux2010_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ x86-64

btclib_libsecp256k1-0.2.1-cp36-abi3-macosx_10_15_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.6+macOS 10.15+ x86-64

File details

Details for the file btclib_libsecp256k1-0.2.1.tar.gz.

File metadata

  • Download URL: btclib_libsecp256k1-0.2.1.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.2

File hashes

Hashes for btclib_libsecp256k1-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a49db13bf5400b1bc152ca86ba0c2aa485641bde02d99270c28cf5dd7d90cff3
MD5 487ce19055bf3f840c2574ee223475af
BLAKE2b-256 dde719b90385d5afacb9e2dcaf35c0a276a087a21b2cab159fae2a39a739d83c

See more details on using hashes here.

File details

Details for the file btclib_libsecp256k1-0.2.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for btclib_libsecp256k1-0.2.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 48b9b74d88af2f1948deeb99d0015e055d66f61fe5e59f03bd2854f341da09d0
MD5 2140a6b34290654b1bb31f0d208f5dcd
BLAKE2b-256 f415453c5cf358af0e01ee89e95b1ab110a5998183a3988f8d568d9c43ec9fd0

See more details on using hashes here.

File details

Details for the file btclib_libsecp256k1-0.2.1-py3-none-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for btclib_libsecp256k1-0.2.1-py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fef408849a063076fa9132190daf5902945b612701d7ca53f0d0a5e7fd59978c
MD5 78674b6570385ba30d79ac771a6e3039
BLAKE2b-256 d73820da5f5eadc8f9e15480f035167443e992811c5ae3c8c7205addc5fd19a7

See more details on using hashes here.

File details

Details for the file btclib_libsecp256k1-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for btclib_libsecp256k1-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd14a3a21768713d69e2da46f6e87ff977a50269519ec7f3c3a3458282f2c843
MD5 39b4d48cbea9335f7fad55ce60b7dd22
BLAKE2b-256 e3f5c9985d160f259d3e4865d30f3f0ce20d2954b01cb8ee856a8f09360184ac

See more details on using hashes here.

File details

Details for the file btclib_libsecp256k1-0.2.1-cp36-abi3-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for btclib_libsecp256k1-0.2.1-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b8b80a3ddfaefb8087793d72f5bedc2df0cd84e14cbc5101dcf90d022b951c4e
MD5 95c4acf7a1c41eec0074536076ce2cee
BLAKE2b-256 187f30c152fd8c57e6cc5dd4ca569daf23c9cdc310d4534ac5286676266cd592

See more details on using hashes here.

File details

Details for the file btclib_libsecp256k1-0.2.1-cp36-abi3-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for btclib_libsecp256k1-0.2.1-cp36-abi3-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6e4e6d668f6000d55d3418c4cb68d30838e124723191a2e9ff692e3713a9af8b
MD5 3b45ad3c735c2ff5aa93025691745f85
BLAKE2b-256 583ebc7987815b150c80f7b49455130944926f3231aabe07da9df63602048215

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