{"library":"hexbytes","type":"library","category":null,"description":"HexBytes is a thin wrapper around the Python built-in `bytes` class (version 1.3.1). It extends `bytes` by accepting a wider range of initialization types including `bool`, `int`, `str`, `bytearray`, and `memoryview`. Key features include a 0x-prefixed console representation (`__repr__`) and a `to_0x_hex()` method for consistent 0x-prefixed hexadecimal string output. The library is actively maintained with regular releases.","language":"python","status":"active","version":"1.3.1","tags":["hex","bytes","ethereum","data-conversion","utility"],"last_verified":"Wed May 20","install":[{"cmd":"pip install hexbytes","imports":["from hexbytes import HexBytes"]}],"homepage":null,"github":"https://github.com/ethereum/hexbytes","docs":null,"changelog":null,"pypi":"https://pypi.org/project/hexbytes/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.11,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/hexbytes/compatibility"}}