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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file dune_analytics_fix-0.0.8.tar.gz.

File metadata

  • Download URL: dune_analytics_fix-0.0.8.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.5

File hashes

Hashes for dune_analytics_fix-0.0.8.tar.gz
Algorithm Hash digest
SHA256 f6184a5fd0ffd56502018c2224137e0fe8da4f4c665e482009abe3860beebe72
MD5 fdbc9779af0ab6273562c67413c66c51
BLAKE2b-256 b772708161e8d28653714dc189d790bb35626c18f53269c97beb03dc6d62a868

See more details on using hashes here.

File details

Details for the file dune_analytics_fix-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: dune_analytics_fix-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.5

File hashes

Hashes for dune_analytics_fix-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 276cb01ec5dc96f85cefde96789ccf409d660303660e063d034d10a7a9331a80
MD5 2e53851457a78bcd1b87f86e4df8297f
BLAKE2b-256 28f87f8fe25c8dd456ba21daf81c9650f7de5d90616b16ba3d89eb0c777b6b0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page