cchecksum
An ~18x faster drop-in replacement for eth_utils.to_checksum_address. Raises the exact same Exceptions. Implemented in C.
What it is and what it does
CChecksum is a performance-focused alternative to Ethereum address checksum validation. It wraps the CPU-intensive checksum computation in C code, delivering roughly 18x faster execution while keeping the same function signature, return values, and exception behavior. The package is designed as a drop-in replacement: you install it, import from cchecksum instead of eth_utils, and your existing code runs faster without modification.
The package depends on eth-hash, eth-typing, pysha3, and safe-pysha3 for cryptographic operations and type definitions. It targets CPython 3.9 through 3.14 and ships pre-compiled wheels for multiple architectures, reducing installation friction on standard platforms. With no known vulnerabilities and active maintenance, it is suitable for production use in Ethereum tooling and applications where address validation throughput matters.
Use it for:
- Accelerate bulk Ethereum address validation in data pipelines or batch processing tasks.
- Drop-in replacement in existing code to gain performance without refactoring.
- High-throughput blockchain indexing or transaction monitoring systems that validate many addresses.
- Reduce CPU overhead in API services that perform frequent address checksum validation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a C-accelerated implementation of Ethereum address checksum validation that is ~18x faster than the standard eth_utils version while maintaining identical API and exception behavior.
Yes, if you use Ethereum address checksum validation in a performance-sensitive context. The identical API and exception behavior make it a true drop-in replacement with no code changes required. Active maintenance, no vulnerabilities, and broad platform coverage make it low-risk. Install if the stated speedup justifies the medium wheel-installation friction on your target platforms.
Install
cchecksum on PyPI
pip
pip install cchecksumuv
uv add cchecksumpoetry
poetry add cchecksumInstalling cchecksum
Before you install
Medium install friction due to compiled wheels, but well-covered across Python 3.9–3.14 and major platforms. Active maintenance with recent release (35 days old) and no known vulnerabilities.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install cchecksum
from cchecksum import to_checksum_address
checksum = to_checksum_address('0xexampleaddress')
Requires CPython 3.9 or later; wheels are pre-built for common architectures but installation may require a C compiler on unsupported platforms.
Verify before relying
- Whether the package handles all edge cases and error conditions identically to eth_utils.to_checksum_address beyond the stated API match.
- Performance improvement magnitude (stated as ~18x) under real-world workloads and dataset sizes.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4,>=3.9) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 4 — eth-hash, eth-typing, pysha3, safe-pysha3 |
| Maintenance | actively maintained — 35 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 287,605/month — #8,031 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cchecksum-0.4.5-cp310-cp310-macosx_10_9_x86_64.whl; cchecksum-0.4.5-cp310-cp310-macosx_11_0_arm64.whl; cchecksum-0.4.5-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl; cchecksum-0.4.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; cchecksum-0.4.5-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl; cchecksum-0.4.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl; cchecksum-0.4.5-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl; cchecksum-0.4.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; cchecksum-0.4.5-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl; cchecksum-0.4.5-cp310-cp310-musllinux_1_2_aarch64.whl; cchecksum-0.4.5-cp310-cp310-musllinux_1_2_armv7l.whl; cchecksum-0.4.5-cp310-cp310-musllinux_1_2_i686.whl; cchecksum-0.4.5-cp310-cp310-musllinux_1_2_ppc64le.whl; cchecksum-0.4.5-cp310-cp310-musllinux_1_2_riscv64.whl; cchecksum-0.4.5-cp310-cp310-musllinux_1_2_s390x.whl; cchecksum-0.4.5-cp310-cp310-musllinux_1_2_x86_64.whl; cchecksum-0.4.5-cp310-cp310-win32.whl; cchecksum-0.4.5-cp310-cp310-win_amd64.whl; cchecksum-0.4.5-cp310-cp310-win_arm64.whl; cchecksum-0.4.5-cp311-cp311-macosx_10_9_x86_64.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
faster-eth-utilsProvides Ethereum utility functions for address…
permissive · top 15,000 on PyPI
faster-eth-abiEncodes and decodes Ethereum ABI data…
permissive · top 15,000 on PyPI
bech32mEncodes and decodes Bech32 and Bech32m strings,…
permissive · top 15,000 on PyPI
eth-keysProvides a unified API for Ethereum key…
permissive · top 5,000 on PyPI
crccheckCalculates CRC and checksum values from binary…
permissive · top 5,000 on PyPI
ethereum-dasmDisassembles Ethereum EVM bytecode into…
copyleft · top 15,000 on PyPI
eth-keyfileLoads, creates, and decrypts Ethereum…
permissive · top 5,000 on PyPI
ckzgProvides Python bindings to C-KZG-4844, a…
permissive · top 5,000 on PyPI
fastcrcfastcrc computes CRC checksums (8, 16, 32, and…
permissive · top 5,000 on PyPI
eth-testereth-tester provides an in-memory Ethereum…
permissive · top 15,000 on PyPI