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.5.0.tar.gz (53.8 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.5.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for datons-0.5.0.tar.gz
Algorithm Hash digest
SHA256 3b322ff05a41a243685c524cc9824b1f7d00b4875ede15cadbe7e580db7f7fc8
MD5 536d3d69456b714832a03350a5f2c7bf
BLAKE2b-256 ba85806e86bdee1d7adbeb5d3d1757d033e7a4e22494bec6ffaa8699848d6a09

See more details on using hashes here.

Provenance

The following attestation bundles were made for datons-0.5.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.5.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for datons-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c64a38c8f410ed489600e01e44f241b91ce8325083b5fce1dec085795400e6c
MD5 e77b3e933fa1088703e975380beeabff
BLAKE2b-256 91a16ac75b9deb14ef987cc31ede520eb4e7009d3939a88424b32fb4c41edc1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for datons-0.5.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