Metadata-Version: 2.1
Name: web3-data-tools
Version: 0.0.1
Summary: Data tools for Web3
Home-page: https://github.com/flashbots/web3-data-tools
Author: Andres Babino
Author-email: ababino@gmail.com
License: Apache Software License 2.0
Keywords: nbdev jupyter notebook python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: web3
Provides-Extra: dev

web3-data-tools
================

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Install

``` sh
pip install web3_data_tools
```

## How to use

``` python
from web3_data_tools.core import *
```

``` python
w3 = MultiRPCWeb3.from_rpcs('http://fail_rpc', 'http://localhost:5919')
```

``` python
block_timestamps = BlockTimestamps(w3)
```

``` python
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
