Skip to main content

Dataverse Python Client

Python client for Dataverse platform.

Pre-requisites

  1. Python version 3.14+
  2. Environment variable DATAVERSE_BASE_URL
  3. Environment variable DATAVERSE_AUTH_TOKEN
  4. or both can be passed explicitly to create_client function as arguments.

You can generate an authentication token in the Terraverse SmartCube portal. Intial values for both DATAVERSE_BASE_URL and DATAVERSE_AUTH_TOKEN will be issued once your SmartCube account will become active and if your subscription plan includes Dataverse.

Quickstart

from dtvr.client import create_client

client = create_client()
with client.last_exchange_rates() as resp:
    reader = resp.as_csv_rows()
    for row in reader:
        print(row)  # use the data here
from dtvr.client import create_client, CEPS_AREA_DOMAIN
from dtvr.timeutil import today_start_end

client = create_client()
start, end = today_start_end()
with client.procured_balancing_capacity_daily(CEPS_AREA_DOMAIN, start, end) as resp:
    df = resp.as_pandas()
    df.info(memory_usage=True)
    # use the dataframe here

DateLike arguments

Several methods of the client accepts arguments representing start and end of some date range for which you need to download the data. To pass something as date-like argument you can either:

  • use datetime
  • use date
  • use string with the format yyyy-MM-dd, yyyy-MM-dd HH:mm or yyyy-MM-dd HH:mm:ss

Features

  • Easy to use client library that will help you to consume Datavere endpoints quickly.
  • Response containing data can be converted to either:
    • iterator representing CSV rows (list of string and numeric values)
    • pandas DataFrame
  • Several convenience functions for manipulating date & time in module dtvr.timeutil.

Available Dataverse Endpoints

method short description
last_exchange_rates Returns the last known exchange rates. Data source is the Czech National Bank (CNB); rates are expressed in CZK.
balancing_energy_bid Returns ENTSOE balancing energy bid data for the specified connecting domain and time interval.
balancing_energy_bid_raw Returns raw ENTSOE balancing energy bid data for the specified connecting domain and time interval.
procured_balancing_capacity_daily Returns ENTSOE daily-auction procured balancing capacity data for the specified area domain and time interval.
procured_balancing_capacity_yearly Returns ENTSOE yearly-auction procured balancing capacity data for the specified area domain and year.
exchanged_volume Returns TransnetBW cross-border exchanged balancing volumes for the specified day.
cross_border_marginal_price Returns TransnetBW cross-border marginal prices for the specified day.
ceps_current_system_imbalance_actual Returns the last ~15 minutes of system imbalance (ACE) data.
ceps_current_system_imbalance_daily Returns system imbalance (ACE) data for the specified day.
ceps_svr_activations_actual Returns the last ~15 minutes of SVR (balancing services) activation data.
ceps_svr_activations_daily Returns SVR (balancing services) activation data for the specified day.
ceps_svr_export_import_actual Returns the last ~15 minutes of SVR cross-border balancing energy exchange data.
ceps_svr_export_import_daily Returns SVR cross-border balancing energy exchange data for the specified day.
ceps_svr_maximum_dt_price Returns SVR daily price caps for ancillary service activations on the specified day.
ceps_cross_border_power_flows_actual Returns the last ~15 minutes of real-time cross-border power flows data.
ceps_cross_border_power_flows_daily Returns real-time cross-border power flows data for the specified day.
ceps_emergency_exchange Returns emergency exchange data for the specified day.
ceps_generation Returns actual electricity generation data for the specified day, broken down by source type.
ceps_generation_plan Returns the generation plan for the specified day.
ceps_generation_renewable_source_actual Returns the last ~15 minutes of real-time renewable energy generation data.
ceps_generation_renewable_source_daily Returns real-time renewable energy generation data for the specified day.
ceps_imbalance_price_prediction Returns the hourly imbalance price prediction for the specified day.
ceps_power_balance Returns the power balance report for the specified year.
procured_balancing_capacity_daily_raw Returns raw ENTSOE daily-auction procured balancing capacity data for the specified area domain and time interval.
procured_balancing_capacity_yearly_raw Returns raw ENTSOE yearly-auction procured balancing capacity data for the specified area domain and time interval.
evaluation_party Returns MMS party (subject) hourly evaluation data for the specified business date.
evaluation_party_contract Returns MMS party contract hourly evaluation data for the specified business date.
evaluation_party_additional_costs Returns MMS party additional costs hourly evaluation data for the specified business date.
evaluation_monthly_party Returns MMS monthly party (subject) evaluation data for the specified business month.
evaluation_monthly_contract Returns MMS monthly contract evaluation data for the specified business month.
evaluation_asset_hourly Returns MMS asset hourly evaluation data for the specified business date.
evaluation_asset_quarter_hourly Returns MMS asset quarter-hour (QH) evaluation data for the specified business date.
evaluation_marginal_price Returns MMS marginal price evaluation data for the specified business date.
evaluation_reg_energy_unit Returns MMS regulating energy unit QH evaluation data for the specified business date.
evaluation_reg_energy_unit_ans Returns MMS regulating energy unit per ancillary service (ANS) QH evaluation data for the specified business date.
evaluation_reg_energy_contract Returns MMS regulating energy contract QH evaluation data for the specified business date.
evaluation_reg_energy_hourly_contract Returns MMS regulating energy hour-contract evaluation data for the specified business date.
evaluation_reg_energy_hourly_party Returns MMS regulating energy hour-party evaluation data for the specified business date.
evaluation_reg_energy_minute Returns MMS regulating energy minute evaluation data for the specified business date.

Metadata

Release files for dtvr 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dtvr 1.0.0
File Size Uploaded Provenance Actions
dtvr-1.0.0.tar.gz 13.0 kB With provenance Details for dtvr-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dtvr 1.0.0
File Interpreter ABI Platform Actions
dtvr-1.0.0-py3-none-any.whl Python 3 none any Details for dtvr-1.0.0-py3-none-any.whl

Total release size: 24.4 kB

Release files / dtvr-1.0.0.tar.gz

Download URL dtvr-1.0.0.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9a1555c0ef9425f591c38e9c25afad72e5a3e87a818e0bc8248cc61b4fe909e2
BLAKE2b-256 checksum
How to use checksums
dfa4af9e33c4b231486eeffc8cbd56ec2d032db5ecca5603f8209e785db8277e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

Release files / dtvr-1.0.0-py3-none-any.whl

Download URL dtvr-1.0.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b72e9aa79230266a17c123510f42e4fd9e658a649694457da1d89016154250c7
BLAKE2b-256 checksum
How to use checksums
04dbcfcdd202a643bc415738473b03dac13bf952848dac282bafd41c93433cdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

Security for dtvr 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dtvr-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page