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.3.0.tar.gz (51.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.3.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for datons-0.3.0.tar.gz
Algorithm Hash digest
SHA256 31f71dab2ce22912eed0f2508a2295740f635fb99e6d5a5350432662df5119d9
MD5 72c0a9ec13bac6f2b782d757118246a9
BLAKE2b-256 99406698f0dfe80771086bb877b5532b90b0588920ab4bccaf8e8db5f8c4a754

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: datons-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ba0e8e379dcbedd2fc0c1ee6cac2787bef214ed3c694ca6b06624e9d7cf84ed
MD5 c8ad3bbe63939c6042a54c68b41ff8b1
BLAKE2b-256 901c70c68d8f2a3ed73b440c097ef680344ab9b5e142eb02803f43c9cd2d3c7c

See more details on using hashes here.

Provenance

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