https://github.com/spesmilo/electrum-ecc
python library for libsecp256k1, using ctypes
https://github.com/spesmilo/electrum-ecc
Last synced: 9 months ago
JSON representation
python library for libsecp256k1, using ctypes
- Host: GitHub
- URL: https://github.com/spesmilo/electrum-ecc
- Owner: spesmilo
- License: mit
- Created: 2024-06-17T11:10:02.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-16T15:32:12.000Z (over 1 year ago)
- Last Synced: 2025-06-01T07:14:34.128Z (about 1 year ago)
- Language: Python
- Size: 84 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# electrum-ecc
```
Licence: MIT Licence
Author: The Electrum developers
Language: Python (>= 3.10)
```
[](https://pypi.org/project/electrum-ecc/)
[](https://cirrus-ci.com/github/spesmilo/electrum-ecc)
This package provides a pure python interface to
[libsecp256k1](https://github.com/bitcoin-core/secp256k1).
Unlike Coincurve, it uses ctypes, and has no dependency.
### Tests
```
$ python3 -m unittest discover -s tests -t .
```
Or
```
$ pytest tests -v
```
### Maintainer notes
Release checklist:
- bump `__version__` in `__init__.py`
- write changelog?
- `$ git tag -s "$VERSION" -m "$VERSION"`
- `$ git push "$REMOTE_ORIGIN" tag "$VERSION"`
- build sdist (see [`contrib/sdist/`](contrib/sdist)):
- `$ ELECBUILD_COMMIT=HEAD ELECBUILD_NOCACHE=1 ./contrib/sdist/build.sh`
- `$ python3 -m twine upload dist/$DISTNAME`