Skip to main content

Data tools for Web3

Project description

web3-data-tools

Install

pip install web3_data_tools

How to use

from web3_data_tools.core import *
w3 = MultiRPCWeb3.from_rpcs('http://fail_rpc', 'http://localhost:5919')
block_timestamps = BlockTimestamps(w3)
interpolation_search(block_timestamps, 1692548195)
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919

17957091

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

web3-data-tools-0.0.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

web3_data_tools-0.0.1-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

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