{"repo":"duneanalytics/dune-client","free":true,"listed":false,"github":"https://github.com/duneanalytics/dune-client","clone":"git clone https://github.com/duneanalytics/dune-client.git","description":"A framework for interacting with Dune Analytics' officially supported API service","language":"Python","stars":139,"topics":["api-client","dune-analytics","web3"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Dune Client A python framework for interacting with Dune Analytics' officially supported API service. Installation Using uv (recommended) uv is a fast Python package and project manager written in Rust. It provides: - ⚡ 10-100x faster dependency resolution - 🔒 Reproducible builds with lockfiles - 🐍 Automatic Python version management - 📦 Zero-configuration virtual environments Install uv first, then: Using pip Example Usage Quickstart: run query Export your DUNE API KEY (or place it in a .env file - as in here .env.sample and source .env ). 💡 Tip : If using uv, you can run examples directly without activating a virtual environment: Further Examples Get Latest Results Use get latest results to get the most recent query results without using execution credits. You can specify a max age hours to re-run the query if the data is too outdated. Paid Subscription Features CRUD Operations If you're writing scripts that rely on Dune query results and want to ensure that your local, peer-reviewed, queries are being used at runtime, you can call update query before run query ! Here is a fictitious example making use of this functionality; Developer Usage & Deployment This project uses uv for dependency management and development workflows. Setup Development Commands Multi-Python Testing This project supports Python 3.11, 3.12, and 3.13. You can test across all versions using tox with uv: Makefile Shortcuts Installation Format, Lint & Types can also be run individually with fmt , lint","default_branch":null,"files":null,"tree":[],"storefront":"/r/duneanalytics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/duneanalytics/dune-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}