Simple python bindings to libsecp256k1
Reason this release was yanked:
Bug in mult function
Project description
btclib_libsecp256k1
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for btclib_libsecp256k1-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9526ade359f6ebc9d6cd44adce487f9ef46a65ea73462c1aea608b98b72198c |
|
MD5 | 5740b62900253d3a9e945ca5f77c42de |
|
BLAKE2b-256 | 2a6f17f1a895ba3385bb47ccf5d1b99b3ed100a87e2d8951af164da4a755fdc3 |
Hashes for btclib_libsecp256k1-0.2.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0bd4087d685a5c04ededb22244b316d0f415e289557f6620a678d29e97fe170 |
|
MD5 | 0215382df859b35168099d0feadab739 |
|
BLAKE2b-256 | 50b2367de6afa9141c4c39e993122d31932681854a1761c919d193bc80eebc34 |
Hashes for btclib_libsecp256k1-0.2.0-py3-none-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0da731952207416d77b1ccaaff15c69e5f494f920238b30be9fb324eda5ecbe |
|
MD5 | 4df0de09750732c7f4cce1f4064c5e20 |
|
BLAKE2b-256 | afe0ec03d622118950cc9459c8d4d6f0a2f5cec31388d920aa803c5c08dd73ce |
Hashes for btclib_libsecp256k1-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2daba0b1c3a6fef5d124ac58108c8b9eb7a551f072c08f90acd81776e772772 |
|
MD5 | 71bbef1d82204c37ac25400a424f6637 |
|
BLAKE2b-256 | 5038e8e9d7e03090ac7affe29fb02612536cb5c74397421a7d7bdc0cd5c3b779 |
Hashes for btclib_libsecp256k1-0.2.0-cp36-abi3-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cc16dfa0c23b7f93d6e10d529d5a70a0dcfd8c0c8f426b05e13859917716861 |
|
MD5 | 3130aef2dbd98435a2907b7039e6f182 |
|
BLAKE2b-256 | bddf472d51278601cc08e8876f4f707828c504ec4cf62d57532254a70531ab92 |
Hashes for btclib_libsecp256k1-0.2.0-cp36-abi3-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f6d0e7e7b370272ead517071cde622ff335220dae637c433c0f73e6c5e5c851 |
|
MD5 | f7b9a867fd995b29657dd154db60f3a2 |
|
BLAKE2b-256 | cc1a6e2a8c0a2a2697b0c1d17b1f7655062df269a02f3d3a6f7961cab86ef786 |