{"id":37062996,"url":"https://github.com/analyseether/ether_sql","last_synced_at":"2026-01-14T07:01:17.256Z","repository":{"id":45123859,"uuid":"131996038","full_name":"analyseether/ether_sql","owner":"analyseether","description":"A python library to push ethereum blockchain data into an sql database. ","archived":false,"fork":false,"pushed_at":"2022-09-13T22:04:44.000Z","size":2261,"stargazers_count":67,"open_issues_count":16,"forks_count":22,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-17T12:05:43.002Z","etag":null,"topics":["analytics","blockchain","csv","data-analysis","ethereum","etl","export","postgresql","python","sql"],"latest_commit_sha":null,"homepage":"http://ether-sql.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/analyseether.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-03T13:03:45.000Z","updated_at":"2025-08-02T03:51:29.000Z","dependencies_parsed_at":"2022-08-26T10:41:07.642Z","dependency_job_id":null,"html_url":"https://github.com/analyseether/ether_sql","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/analyseether/ether_sql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analyseether%2Fether_sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analyseether%2Fether_sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analyseether%2Fether_sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analyseether%2Fether_sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/analyseether","download_url":"https://codeload.github.com/analyseether/ether_sql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analyseether%2Fether_sql/sbom","scorecard":{"id":191062,"data":{"date":"2025-08-11","repo":{"name":"github.com/analyseether/ether_sql","commit":"1023afbde6f3d4d934ddf6c984e2aad68c2bba77"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.1.3 not signed: https://api.github.com/repos/analyseether/ether_sql/releases/12953591","Warn: release artifact 0.1.3 does not have provenance: https://api.github.com/repos/analyseether/ether_sql/releases/12953591"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-858 / GHSA-q4xr-rc97-m4xx","Warn: Project is vulnerable to: PYSEC-2022-42973 / GHSA-q4qm-xhf9-4p8f"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T20:41:00.322Z","repository_id":45123859,"created_at":"2025-08-16T20:41:00.323Z","updated_at":"2025-08-16T20:41:00.323Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","blockchain","csv","data-analysis","ethereum","etl","export","postgresql","python","sql"],"created_at":"2026-01-14T07:01:16.686Z","updated_at":"2026-01-14T07:01:17.251Z","avatar_url":"https://github.com/analyseether.png","language":"Python","readme":"# ether_sql\nA Python library to push ethereum blockchain data into an sql database.\n\nether_sql was built by [Analyse Ether](https://www.analyseether.com/), 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.\n\nIt is written in Python 3.5+, uses [web3.py](https://github.com/ethereum/web3.py) for geting data using JSON-RPC calls and uses [SqlAlchemy](http://docs.sqlalchemy.org/en/latest/) to connect to a postgressql database.\n\n\n## Buidl Status\nThis is currently in very alpha stage, and not recommended for production use until it has received sufficient testing.\nCurrently supports Geth, Infura and Parity node, but transaction traces (eg. internal transactions) are currently available only with Parity node.\n\n[![Build Status](https://travis-ci.org/analyseether/ether_sql.svg?branch=master)](https://travis-ci.org/analyseether/ether_sql)\n\nDocumentation available at: http://ether-sql.readthedocs.io\n\n# Installation guide\n\nPlease find the detailed installation guide [here](http://ether-sql.readthedocs.io/en/latest/installation.html)\n\n\n# Command line options\nether_sql has several built in cli commands to facilitate scraping data.\n\n## Syncing the data\nTo start the sync just type.\n\n\n`$ ether_sql scrape_block_range `\n\nThis will start start pushing the data from an Infura node to the psql database.\n\n\n## Switching nodes\n\nTo switch nodes use the settings flag:\n\n\n`$ ether_sql --settings='PersonalParitySettings' scrape_block_range `\n\n\n## Using multiple workers to sync data\nTo start 4 parallel workers use.\n\n`$ ether_sql --settings=YourSettings celery start -c4`\n\nThe above command will start 4 workers using the settings `YourSettings`\nThen start the sync, which will automatically use the setting used to start workers.\n`$ ether_sql scrape_block_range `\n\nHere is a demo of the process: https://www.youtube.com/watch?v=rnkfyAgGJwI\u0026feature=youtu.be \n\n## Exporting as csv\n\nTo export the pushed data as a csv\n\n`$ ether_sql sql export_to_csv`\n\n\nTo access other Command Line Interfaces (CLI) checkout the [cli docs](http://ether-sql.readthedocs.io/en/latest/api/cli.html).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalyseether%2Fether_sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanalyseether%2Fether_sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalyseether%2Fether_sql/lists"}