$npx skillfedfor your agent

eth-keys

eth-keys: Common API for Ethereum key operations

Worth itPyPI CryptographyReleased Apr 20256.0M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — eth_keys-0.7.0-py3-none-any.whl
v0.7.0 · released 2025-04-07 · Python <4,>=3.8 · 2 runtime deps: eth-utils, eth-typing

Yes. eth-keys is a foundational library for Ethereum development with no known vulnerabilities, permissive licensing, and low install friction. The aging maintenance status (last release 494 days ago) is a minor concern for a stable cryptographic library, but the active repository and broad Python version support (3.8–3.13) make it reliable for production use. Install if you need to handle Ethereum key operations.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python fallback backend; the package prefers the coincurve library for performance but does not require it, making it accessible without compiled dependencies.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.

last release 2025-04-07 (494 days) · last repo commit 2025-12-17 · 177 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,000,576 downloads/mo, #1,989 on PyPI

Verify before relying

from eth_keys import keys
pk = keys.PrivateKey(b'\x01' * 32)
signature = pk.sign_msg(b'a message')
public_key = pk.public_key
address = public_key.to_checksum_address()
verified = signature.verify_msg(b'a message', public_key)
  • Performance characteristics and benchmarks comparing NativeECCBackend vs CoinCurveECCBackend backends
  • Whether the package is actively maintained beyond the aging status indicator
Same gist for agents: .md · .json

What it is and what it does

eth-keys is a cryptographic library for Ethereum that abstracts elliptic curve operations behind a clean, high-level API. It handles the core key management tasks: generating private keys, deriving corresponding public keys, signing messages with ECDSA, verifying signatures, and recovering public keys from signatures. The library supports two backends—a pure-Python implementation and an optional high-performance backend via coincurve—and automatically falls back to the native implementation if the faster library is unavailable.

Developers use eth-keys to build Ethereum applications that need to sign transactions, verify message authenticity, or derive addresses from keys. The API provides both low-level methods (ecdsa_sign, ecdsa_verify, ecdsa_recover) and convenience methods on key objects (sign_msg, verify_msg, to_checksum_address). It depends only on eth-utils and eth-typing, keeping the dependency footprint minimal.

Use it for

  • Sign Ethereum transactions or messages in a wallet or dApp backend
  • Verify that a message or transaction was signed by a specific Ethereum address
  • Recover the signer's public key and address from a signature to authenticate requests
  • Generate Ethereum addresses from public keys for account creation or validation
  • Implement multi-signature or threshold signing schemes using the low-level ECDSA API

Worth the install?

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

Worth it

Yes.

eth-keys is a foundational library for Ethereum development with no known vulnerabilities, permissive licensing, and low install friction. The aging maintenance status (last release 494 days ago) is a minor concern for a stable cryptographic library, but the active repository and broad Python version support (3.8–3.13) make it reliable for production use. Install if you need to handle Ethereum key operations.

Install

eth-keys on PyPI

Before you install

Low install friction with a pure-Python fallback backend; the package prefers the coincurve library for performance but does not require it, making it accessible without compiled dependencies.

License in practice

MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.

Quickstart

from eth_keys import keys
pk = keys.PrivateKey(b'\x01' * 32)
signature = pk.sign_msg(b'a message')
public_key = pk.public_key
address = public_key.to_checksum_address()
verified = signature.verify_msg(b'a message', public_key)

Verify before relying

  • Performance characteristics and benchmarks comparing NativeECCBackend vs CoinCurveECCBackend backends
  • Whether the package is actively maintained beyond the aging status indicator

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
eth-utilseth-typing
MaintenanceAging 494 days since the last release
Last repo commit
First released
Downloads6,000,576 / month, #1,989 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: eth_keys-0.7.0-py3-none-any.whl

Tags

Capabilities
ethereum key signingECDSA signature verificationethereum private key managementpublic key derivation ethereummessage signing ethereumethereum address generationcryptographic key operations
Topics
ethereumcryptographykey-management
PyPI keywords
ethereum

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 › “ethereum key signing”

  • eth-keysProvides a unified API for Ethereum key operations including private…
  • eth-accounteth-account signs Ethereum transactions and messages using local…
  • coincurvecoincurve provides Python bindings to libsecp256k1, enabling fast…

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

More Cryptography packages

certifi Worth it
PyPI · Cryptography · released Jul 2026

Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.

MPL-2.0pure Python · 3.7+
1.9Bdownloads / mo
cryptography Worth it
PyPI · Cryptography · released Jul 2026

cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.

Apache-2.0 OR BSD-3-Clausecompiled wheel
1.5Bdownloads / mo
rsa Skip
PyPI · Cryptography · released Apr 2025

Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.

Apache-2.0pure Pythonabandoned
299.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
azure-identity Worth it
PyPI · Cryptography · released Mar 2026

Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.

license unclearpure Python · 3.9+
247.2Mdownloads / mo
PyNaCl Worth it
PyPI · Cryptography · released Jan 2026

PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.

Apache-2.0compiled wheel · 3.8+
246.6Mdownloads / mo

See also eth-keyfile · x25519 · starkbank-ecdsa · coincurve · eth-hash · eth-account · nkeys · cchecksum · ethereum-dasm · pyseto