$npx skillfedfor your agent

coincurve

Safest and fastest Python library for secp256k1 elliptic curve operations

Worth itPyPI LibrariesReleased Mar 20253.3M downloads / moMIT OR Apache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — coincurve-21.0.0-cp310-cp310-macosx_10_9_x86_64.whl · coincurve-21.0.0-cp310-cp310-macosx_11_0_arm64.whl · coincurve-21.0.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
v21.0.0 · released 2025-03-08 · Python >=3.9

Yes. coincurve is production-stable, actively maintained, widely adopted in blockchain infrastructure, has no known vulnerabilities, and offers fast Python bindings to secp256k1. Install it if you need secp256k1 operations; the medium install friction is justified by the performance and correctness guarantees of the underlying C library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; on platforms without prebuilt wheels, a C compiler and libsecp256k1 development headers are needed.
  • Medium install friction due to compiled C bindings; prebuilt wheels are available for Python 3.9–3.13 across macOS, Linux, and Windows architectures, reducing build overhead on common platforms.

License · maintenance · safety

MIT OR Apache-2.0 (permissive) — Dual-licensed under MIT or Apache-2.0, both permissive licenses; you may choose either license when using or redistributing the package.

last release 2025-03-08 (524 days) · last repo commit 2026-08-12 · 181 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,254,947 downloads/mo, #2,683 on PyPI

Verify before relying

pip install coincurve

from coincurve import PrivateKey

private_key = PrivateKey()
public_key = private_key.public_key
signature = private_key.sign(b'message')
  • Whether the package supports key derivation (BIP32/BIP44) or only basic signing and verification operations.
  • Performance characteristics compared to pure-Python elliptic curve libraries for typical workloads.
  • Full API surface for ECDH, Schnorr signatures, and other operations beyond basic signing.
Same gist for agents: .md · .json

What it is and what it does

coincurve wraps libsecp256k1, the heavily optimized C library used by Bitcoin Core, to provide Python developers with fast, production-grade elliptic curve operations on the secp256k1 curve. It handles ECDSA signing and verification, ECDH key exchange, and Schnorr signatures—the cryptographic primitives underlying blockchain systems.

The package is used by major projects including Ethereum, LBRY, and libp2p. It supports Python 3.9 through 3.13 and both CPython and PyPy implementations. Installation is straightforward on common platforms thanks to prebuilt wheels; on less common architectures, you may need a C compiler and libsecp256k1 development headers.

Use it for

  • Sign and verify transactions in Bitcoin or Ethereum applications without implementing elliptic curve math yourself.
  • Perform ECDH key exchange for establishing shared secrets in peer-to-peer or blockchain protocols.
  • Generate and manage secp256k1 keypairs for cryptocurrency wallets or signing services.
  • Implement Schnorr signatures for protocols that require this signature scheme.
  • Integrate cryptographic operations into applications that depend on libsecp256k1 semantics.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

coincurve is production-stable, actively maintained, widely adopted in blockchain infrastructure, has no known vulnerabilities, and offers fast Python bindings to secp256k1. Install it if you need secp256k1 operations; the medium install friction is justified by the performance and correctness guarantees of the underlying C library.

Install

coincurve on PyPI

Before you install

Medium install friction due to compiled C bindings; prebuilt wheels are available for Python 3.9–3.13 across macOS, Linux, and Windows architectures, reducing build overhead on common platforms.

Requires Python 3.9 or later; on platforms without prebuilt wheels, a C compiler and libsecp256k1 development headers are needed.

License in practice

Dual-licensed under MIT or Apache-2.0, both permissive licenses; you may choose either license when using or redistributing the package.

Quickstart

pip install coincurve

from coincurve import PrivateKey

private_key = PrivateKey()
public_key = private_key.public_key
signature = private_key.sign(b'message')

Verify before relying

  • Whether the package supports key derivation (BIP32/BIP44) or only basic signing and verification operations.
  • Performance characteristics compared to pure-Python elliptic curve libraries for typical workloads.
  • Full API surface for ECDH, Schnorr signatures, and other operations beyond basic signing.

Package facts

LicenseMIT OR Apache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 524 days since the last release
Last repo commit
First released
Downloads3,254,947 / month, #2,683 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Security :: CryptographyTopic :: Software Development :: Libraries

Evidence: coincurve-21.0.0-cp310-cp310-macosx_10_9_x86_64.whl; coincurve-21.0.0-cp310-cp310-macosx_11_0_arm64.whl; coincurve-21.0.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl; coincurve-21.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; coincurve-21.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; coincurve-21.0.0-cp310-cp310-musllinux_1_2_aarch64.whl; coincurve-21.0.0-cp310-cp310-musllinux_1_2_i686.whl; coincurve-21.0.0-cp310-cp310-musllinux_1_2_x86_64.whl; coincurve-21.0.0-cp310-cp310-win_amd64.whl; coincurve-21.0.0-cp310-cp310-win_arm64.whl; coincurve-21.0.0-cp311-cp311-macosx_10_9_x86_64.whl; coincurve-21.0.0-cp311-cp311-macosx_11_0_arm64.whl; coincurve-21.0.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl; coincurve-21.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; coincurve-21.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; coincurve-21.0.0-cp311-cp311-musllinux_1_2_aarch64.whl; coincurve-21.0.0-cp311-cp311-musllinux_1_2_i686.whl; coincurve-21.0.0-cp311-cp311-musllinux_1_2_x86_64.whl; coincurve-21.0.0-cp311-cp311-win_amd64.whl; coincurve-21.0.0-cp311-cp311-win_arm64.whl

Tags

Capabilities
secp256k1 python bindingselliptic curve cryptography librarybitcoin ethereum signingecdsa ecdh operationslibsecp256k1 wrapper
Topics
elliptic-curveblockchaincryptography
PyPI keywords
bitcoincryptocryptocurrencyecdhecdsaelliptic curvesethereumlibsecp256k1schnorrsecp256k1

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “secp256k1 python bindings”

  • coincurvecoincurve provides Python bindings to libsecp256k1, enabling fast…
  • py-eccImplements elliptic curve cryptography operations for secp256k1,…
  • starkbank-ecdsaPure Python ECDSA implementation supporting secp256k1 and prime256v1…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also py-ecc · ecdsa · sslcrypto · fastecdsa · eth-keys · crypto-cpp-py · ckzg · ECPy · eciespy · slip10