Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 2.54 KB

File metadata and controls

37 lines (23 loc) · 2.54 KB

I forked hexbytes and compiled it to C. It does the same stuff, now faster

PyPI Monthly Downloads Codspeed.io Status

This fork will be kept up-to-date with hexbytes. I will pull updates as they are released and push new faster-hexbytes releases to PyPI.
faster_hexbytes.HexBytes inherits from hexbytes.HexBytes, so porting to faster-hexbytes does not require you to update any isinstance or issubclass checks. All such checks in your codebase, and in any dependencies, will continue to work as they did when originaly implemented.
We benchmark faster-hexbytes against the original hexbytes for your convenience. See results.
You can find the compiled C code and header files in the build directory.
You may also be interested in: faster-web3.py, faster-eth-abi, and faster-eth-utils
The original hexbytes readme is below:

HexBytes

Join the conversation on Discord Build Status PyPI version Python versions Docs build

Python bytes subclass that decodes hex, with a readable console output

Read the documentation.

View the change log.

Installation

python -m pip install hexbytes