Skip to main content

An interface for querying Dune Analytics

Project description

Dune Analytics

This is a client which leverages the GraphQL interface supplied by Dune Analytics to run queries and load their results into memory. This can be used to, for instance, pull data from DA into a Pandas DataFrame, for more complex analysis.

Disclaimer: This package is not in any respect developed or endorsed by Dune Analytics, nor is the maintainer associated with Dune Analytics in any way.

[![pyversion][pyversion-image]][pyversion-url] [![pypi][pypi-image]][pypi-url]

Tip me at 0xD660994dfD06A7d33C779E77bBd7D71b3C9C6AeA

Installation

$ pip install --pre dune_analytics_fix

Usage

Basic Usage

from dune_analytics import Dune

dune = Dune(dune_username, dune_password)

results = dune.query('''
    SELECT
        *
    FROM tornado_cash."eth_call_withdraw"
    LIMIT 100
''')

License

MIT License

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

dune_analytics_fix-0.0.8.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

dune_analytics_fix-0.0.8-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

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