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]

Installation

$ pip install --pre dune_analytics

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-0.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

dune_analytics-0.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file dune_analytics-0.0.1.tar.gz.

File metadata

  • Download URL: dune_analytics-0.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for dune_analytics-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3e9e267f15eb015e4b825b8e68d74e835ac94e98e5da293ce99372c4cc6bce90
MD5 1f1ea55126c15cf0b43e229dcd5ea5a1
BLAKE2b-256 7f49cef88500cf0935c5c6949d23b8ee43cb84deaa9c3bf6c9538acceb909b52

See more details on using hashes here.

File details

Details for the file dune_analytics-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dune_analytics-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for dune_analytics-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53f3197353791c3f43cc586ec6d3b6dd7cd89184e4c370f4869b802a5cf143fc
MD5 43555127297f1b21d9e40edc662fa712
BLAKE2b-256 5a4df2ccb7847262b2f732cd900f010b311aa3492fd12125f639cc968b98cec3

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