Tools for generating table definitions for https://github.com/blockchain-etl/ethereum-etl-airflow
Project description
Ethereum ETL Table Definition CLI
Ethereum ETL Table Definition CLI allows you to generate table definitions for Ethereum ETL.
Read this article for more details: How to get any Ethereum smart contract into BigQuery (in 8 mins).
Quickstart
Install the cli:
pip install ethereum-etl-table-definition-cli
Generate table definitions (example_uniswap_abi.json
can be downloaded from here):
tabledefinition generate \
--abi-file WeightedPool.json \
--dataset-name uniswap \
--contract-name WeightedPool \
--contract-address 0x09253c3554FB7242608FF67Ce048918CCF7F9a96
Output will be in the output
directory.
For the latest version, check out the repo and call
pip install -e .
python tabledefinition.py --help
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
Close
Hashes for ethereum-etl-table-definition-cli-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fc76a582e2f5bdbbc52ffd7857bd1e2b0818ba7db245bdd0654609af3448e3e |
|
MD5 | 1a3057eaca121df153e7e1b10312221a |
|
BLAKE2b-256 | cd66053caafb6db68c02fc7aee937f47d964737e8cada517c8680c0220c8b99c |