All Projects → analyseether → Ether_sql

analyseether / Ether_sql

Licence: apache-2.0
A python library to push ethereum blockchain data into an sql database.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ether sql

Ethereum Etl
Python scripts for ETL (extract, transform and load) jobs for Ethereum blocks, transactions, ERC20 / ERC721 tokens, transfers, receipts, logs, contracts, internal transactions. Data is available in Google BigQuery https://goo.gl/oY5BCQ
Stars: ✭ 956 (+2231.71%)
Mutual labels:  ethereum, csv, sql, etl, export
Octosql
OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
Stars: ✭ 2,579 (+6190.24%)
Mutual labels:  csv, sql, data-analysis, postgresql
Blockapi
A general framework for blockchain analytics
Stars: ✭ 111 (+170.73%)
Mutual labels:  blockchain, ethereum, sql, analytics
Pyetl
python ETL framework
Stars: ✭ 33 (-19.51%)
Mutual labels:  csv, etl, export
Sayn
Data processing and modelling framework for automating tasks (incl. Python & SQL transformations).
Stars: ✭ 79 (+92.68%)
Mutual labels:  sql, analytics, etl
Maha
A framework for rapid reporting API development; with out of the box support for high cardinality dimension lookups with druid.
Stars: ✭ 101 (+146.34%)
Mutual labels:  sql, analytics, postgresql
Bitcoin Etl
ETL scripts for Bitcoin, Litecoin, Dash, Zcash, Doge, Bitcoin Cash. Available in Google BigQuery https://goo.gl/oY5BCQ
Stars: ✭ 174 (+324.39%)
Mutual labels:  sql, etl, export
Pipelinedb
High-performance time-series aggregation for PostgreSQL
Stars: ✭ 2,447 (+5868.29%)
Mutual labels:  sql, analytics, postgresql
Linq2db
Linq to database provider.
Stars: ✭ 2,211 (+5292.68%)
Mutual labels:  sql, etl, postgresql
Csv2db
The CSV to database command line loader
Stars: ✭ 102 (+148.78%)
Mutual labels:  csv, etl, postgresql
Presto Ethereum
Presto Ethereum Connector -- SQL on Ethereum
Stars: ✭ 450 (+997.56%)
Mutual labels:  blockchain, ethereum, sql
Awesome Business Intelligence
Actively curated list of awesome BI tools. PRs welcome!
Stars: ✭ 1,157 (+2721.95%)
Mutual labels:  sql, data-analysis, etl
Metabase
The simplest, fastest way to get business intelligence and analytics to everyone in your company 😋
Stars: ✭ 26,803 (+65273.17%)
Mutual labels:  analytics, data-analysis, postgresql
Timescaledb
An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
Stars: ✭ 12,211 (+29682.93%)
Mutual labels:  sql, analytics, postgresql
Neo4j Etl
Data import from relational databases to Neo4j.
Stars: ✭ 165 (+302.44%)
Mutual labels:  csv, sql, postgresql
Trdsql
CLI tool that can execute SQL queries on CSV, LTSV, JSON and TBLN. Can output to various formats.
Stars: ✭ 593 (+1346.34%)
Mutual labels:  csv, sql, postgresql
Rotki
A portfolio tracking, analytics, accounting and tax reporting application that protects your privacy
Stars: ✭ 689 (+1580.49%)
Mutual labels:  blockchain, ethereum, analytics
Eth Hodler
A simple DApp & ERC20 token written in Solidity running on the Ethereum blockchain www.hdao.org
Stars: ✭ 31 (-24.39%)
Mutual labels:  blockchain, ethereum
Blockchain Anchor
A Node.js library for anchoring data onto the Bitcoin blockchain and confirming anchored data on Bitcoin and Ethereum.
Stars: ✭ 32 (-21.95%)
Mutual labels:  blockchain, ethereum
Privatekeyvault
Make Instructions: Airgapped raspberry pi computer for working with blockchains featuring LUKS full disk encryption and using qr-codes to pass encrypted files and offline transaction instructions across the airgap.
Stars: ✭ 29 (-29.27%)
Mutual labels:  blockchain, ethereum

ether_sql

A Python library to push ethereum blockchain data into an sql database.

ether_sql was built by Analyse Ether, with the goal of making Ethereum data easily available to everyone. This library can be used as a backbone for creating block explorers or performing data analysis.

It is written in Python 3.5+, uses web3.py for geting data using JSON-RPC calls and uses SqlAlchemy to connect to a postgressql database.

Buidl Status

This is currently in very alpha stage, and not recommended for production use until it has received sufficient testing. Currently supports Geth, Infura and Parity node, but transaction traces (eg. internal transactions) are currently available only with Parity node.

Build Status

Documentation available at: http://ether-sql.readthedocs.io

Installation guide

Please find the detailed installation guide here

Command line options

ether_sql has several built in cli commands to facilitate scraping data.

Syncing the data

To start the sync just type.

$ ether_sql scrape_block_range

This will start start pushing the data from an Infura node to the psql database.

Switching nodes

To switch nodes use the settings flag:

$ ether_sql --settings='PersonalParitySettings' scrape_block_range

Using multiple workers to sync data

To start 4 parallel workers use.

$ ether_sql --settings=YourSettings celery start -c4

The above command will start 4 workers using the settings YourSettings Then start the sync, which will automatically use the setting used to start workers. $ ether_sql scrape_block_range

Here is a demo of the process: https://www.youtube.com/watch?v=rnkfyAgGJwI&feature=youtu.be

Exporting as csv

To export the pushed data as a csv

$ ether_sql sql export_to_csv

To access other Command Line Interfaces (CLI) checkout the cli docs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].