Skip to main content

Tools for exporting Cosmos blockchain data to CSV or JSON

Project description

Cosmos ETL

Cosmos ETL lets you convert cosmos blockchain data into convenient formats like CSV and JSON. This project was inspired by ethereum etl.

Quickstart

Install cosmos-etl pypi package

> pip install cosmos-etl

Export blocks

> cosmosetl export_blocks -s 2000000 -e 2001000 -p https://tendermint.bd.evmos.org:26657 -o blocks.csv

Export transactions and events

> cosmosetl export_transactions_and_events -s 2000000 -e 2001000 -p https://tendermint.bd.evmos.org:26657 -to transactions.csv -eo events.csv

Get block range for date

> cosmosetl get_block_range_for_date -p https://tendermint.bd.evmos.org:26657 -d 2022-05-12

Get block range for timestamps

> cosmosetl get_block_range_for_timestamps -p https://tendermint.bd.evmos.org:26657 -s 1661708854 -e 1661808854

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

cosmos-etl-0.0.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

cosmos_etl-0.0.2-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file cosmos-etl-0.0.2.tar.gz.

File metadata

  • Download URL: cosmos-etl-0.0.2.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for cosmos-etl-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9e651fa7d55e235d6679033eb3d4fa556d7ba1b59f452c763676c18768430e1d
MD5 8a2a82eb1c6f151353ad8c5e6252a53e
BLAKE2b-256 08133ae4afc0c199466d18b157d56137ad1f469b25296caf86844867e4b1ce8f

See more details on using hashes here.

File details

Details for the file cosmos_etl-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: cosmos_etl-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for cosmos_etl-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62fdb6c0c16b1cbc69206ad766fd2f828421477aa5b930bf57efb7c66376a12f
MD5 7e81dd3351d69364139700856f7bfbc2
BLAKE2b-256 5904b0fce003895aa94e91cac09d0ea2aeb575fb0c6a1413d25271ac8664d54d

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