Skip to main content

Energy Quantified Time series API client.

Project description

Energy Quantified Python Client

Apache License version 2.0 Python 3.7+ Wheel

Documentation | Python package | GitHub repository

The Python library for Energy Quantified's Time Series API. It allows you to access thousands of data series directly from Energy Quantified's time series database. It integrates with the popular pandas library for high-performance data analysis and manipulation.

Developed for Python 3.7+.

from datetime import date, timedelta
from energyquantified import EnergyQuantified

# Initialize client
eq = EnergyQuantified(api_key='<insert api key here>')

# Freetext search (filtering on attributes is also supported)
curves = eq.metadata.curves(q='de wind production actual')

# Load time series data
curve = curves[0]
timeseries = eq.timeseries.load(
    curve,
    begin=date.today() - timedelta(days=10),
    end=date.today()
)

# Convert to Pandas data frame
df = timeseries.to_dataframe()

Full documentation available at Read the Docs.

Features

  • Simple authentication
  • Metadata caching
  • Rate-limiting and automatic retries on network errors
  • Full-text search and keyword search for curves and powerplants
  • Forecasts- and time series data
  • Period-based data
  • OHLC data
  • (TODO!) SRMC, dark- and spark spreads
  • (TODO!) Shows your subscription for each series
  • Support for time-zones, resolutions and aggregations
  • Easy-to-use filters for issue dates and forecast types
  • Integrates with pandas

Note: A user account with an API key is required to use this library. Create an account on Energy Quantified's home page. Trial users get access to 30 days of history.

Installation

Install with pip:

# Install
pip install energyquantified

# Upgrade
pip install --upgrade energyquantified

Documentation

Find the documentation at Read the Docs.

License

The Energy Quantified Python client is licensed under the Apache License version 2.0.

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

energyquantified-0.4.tar.gz (45.2 kB view details)

Uploaded Source

Built Distribution

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

energyquantified-0.4-py3-none-any.whl (67.2 kB view details)

Uploaded Python 3

File details

Details for the file energyquantified-0.4.tar.gz.

File metadata

  • Download URL: energyquantified-0.4.tar.gz
  • Upload date:
  • Size: 45.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.5

File hashes

Hashes for energyquantified-0.4.tar.gz
Algorithm Hash digest
SHA256 aec7c335668a7f988fb8b591161170109e76ae335fa3d0ca6333ee5bc57f1c75
MD5 9b4894d1605dce104f49fbf058595e66
BLAKE2b-256 39bdb05a96fb8ecf58a4b8a1efc0b294537bf860a49b1f097f723a9d39a7899b

See more details on using hashes here.

File details

Details for the file energyquantified-0.4-py3-none-any.whl.

File metadata

  • Download URL: energyquantified-0.4-py3-none-any.whl
  • Upload date:
  • Size: 67.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.5

File hashes

Hashes for energyquantified-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2a8b507232b433e0917c8844ea0ef7672457d2d03cc17095ff592f6cb010333f
MD5 76c0e1fdac836f9a08181fc8e7fd6c19
BLAKE2b-256 d1d0b80f60a76c66129df22b632e98037a425914a9a77f360a181ff63e62de25

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