ethereum-etl-table-definition-cli-1.1.0
توضیحات
Tools for generating table definitions for https://github.com/blockchain-etl/ethereum-etl-airflow
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ethereum-etl-table-definition-cli-1.1.0 |
| نام | ethereum-etl-table-definition-cli |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Evgeny Medvedev |
| ایمیل نویسنده | evge.medvedev@gmail.com |
| آدرس صفحه اصلی | https://github.com/blockchain-etl/ethereum-etl-table-definition-cli |
| آدرس اینترنتی | https://pypi.org/project/ethereum-etl-table-definition-cli/ |
| مجوز | - |
# EVM Chain ETL Table Definition CLI
EVM Chain ETL Table Definition CLI allows generating table definitions for
[Ethereum ETL](https://github.com/blockchain-etl/ethereum-etl-airflow/tree/master/dags/resources/stages/parse/table_definitions),
[Polygon ETL](https://github.com/blockchain-etl/polygon-etl/tree/main/airflow/dags/resources/stages/parse/table_definitions),
[EVM Chain ETL](https://github.com/nansen-ai/evmchain-etl-table-definitions/tree/main/parse).
Read this article for more details: [How to get any Ethereum smart contract into BigQuery (in 8 mins)](https://towardsdatascience.com/how-to-get-any-ethereum-smart-contract-into-bigquery-in-8-mins-bab5db1fdeee).
## Requirements:
- Python 3.6+
## Quickstart
Install the cli:
```bash
pip install ethereum-etl-table-definition-cli
```
Generate table definitions (`example_uniswap_abi.json` can be downloaded from [here](https://github.com/blockchain-etl/ethereum-etl-table-definition-cli/blob/main/example_uniswap_abi.json)):
```bash
tabledefinition generate \
--abi-file example_uniswap_abi.json \
--dataset-name uniswap \
--contract-name Uni \
--contract-address 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984
```
Output will be in the `output` directory.
---
For the latest version, check out the repo and call
```bash
pip install -e .
python tabledefinition.py --help
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5.3,<4 | Python |
نحوه نصب
نصب پکیج whl ethereum-etl-table-definition-cli-1.1.0:
pip install ethereum-etl-table-definition-cli-1.1.0.whl
نصب پکیج tar.gz ethereum-etl-table-definition-cli-1.1.0:
pip install ethereum-etl-table-definition-cli-1.1.0.tar.gz