Skip to main content

Python implementation of the Ethereum Trie structure

Project description

# Python Implementation of the Ethereum Bloom Filter

`shell $ pip install ethereum-bloom `

## Usage

`python >>> from eth_bloom import BloomFilter >>> b = BloomFilter() >>> >>> b = BloomFilter() >>> b'a value' in b False >>> b.add(b'a value') >>> b'a value' in b True >>> int(b) 3458628712844765018311492773359360516229024449585949240367644166080576879632652362184119765613545163153674691520749911733485693171622325900647078772681584616740134230153806267998022370194756399579977294154062696916779055028045657302214591620589415314367270329881298073237757853875497241510733954508399863880080986777555986663988492288946856978031023631618215522505971170427986911575695114157059398791122395379400594948096 >>> bin(b) '0b100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ethereum-bloom-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

ethereum_bloom-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file ethereum-bloom-0.1.0.tar.gz.

File metadata

File hashes

Hashes for ethereum-bloom-0.1.0.tar.gz
Algorithm Hash digest
SHA256 587476c2dfe5113832c52b0a42d8187d53c6ac97a77463bf3da8b73b8e2baab1
MD5 96a5c6f295ca7bc56d03c23c6d00e2d9
BLAKE2b-256 021f8a71d17c153dbeafdfb166d63b637e279b427b40bd6166ee31cd0e34cccd

See more details on using hashes here.

File details

Details for the file ethereum_bloom-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ethereum_bloom-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 342d26a68d19c38d0594cf171389dbe2a307521830ee05a3687f694e7940f9ad
MD5 332ebfb34647191d7cd63c143de01ed4
BLAKE2b-256 0fe02d1339ade6bc7b596aa6b74ac1c71e1dfcaf72eb6a5d3cfe49d783bd86c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page