Skip to main content

Python client for Datons data APIs

Project description

datons

Python client for Datons data APIs.

Installation

pip install datons

Quick start

from datons import Client

client = Client(token="esd_live_...")

# Query preprocessed I90 market data
df = client.esios.query(
    "SELECT unit, datetime, energy, price "
    "FROM operational_data_15min "
    "WHERE program = 'PDBF' AND date >= '2025-01-01' "
    "LIMIT 100"
)

# Dataset metadata (schema, programs, stats)
meta = client.esios.metadata()

# Search for units, companies, technologies
results = client.esios.search("iberdrola")

Authentication

Get your API key at datons.com/apps/esios-data.

Pass it directly or set the DATONS_API_KEY environment variable:

export DATONS_API_KEY="esd_live_..."
from datons import Client

client = Client()  # picks up DATONS_API_KEY

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

datons-0.6.0.tar.gz (58.5 kB view details)

Uploaded Source

Built Distribution

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

datons-0.6.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file datons-0.6.0.tar.gz.

File metadata

  • Download URL: datons-0.6.0.tar.gz
  • Upload date:
  • Size: 58.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for datons-0.6.0.tar.gz
Algorithm Hash digest
SHA256 f97979d3132d180351fda2b41002bd9b46ef0e40515bc10269560a1226e0d234
MD5 e8a253f7fccb0bb52b2dbf818c7d23d8
BLAKE2b-256 a8b845b298193bba290ef7c820bce7763e4b7429b774d88fe99c415b00b247eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for datons-0.6.0.tar.gz:

Publisher: publish.yml on datons/python-datons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datons-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: datons-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for datons-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4751ac90133689a291ac2955ef503904e75c92c238e5630d06ecf9a4c0a4fd31
MD5 2085d65e691b7b72d0c6437f34d46e68
BLAKE2b-256 f431e8cb2a89a88cfd02f7dd855c1e2665e0201cee3bac15f624c444d1779a75

See more details on using hashes here.

Provenance

The following attestation bundles were made for datons-0.6.0-py3-none-any.whl:

Publisher: publish.yml on datons/python-datons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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