Energy Quantified Time series API client.
Maintained. Last release 5 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and security practices.
pip install energyquantifiedEnergy Quantified Python Client
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 and the polars libarary for high-performance data analysis and manipulation.
Developed for Python 3.10+.
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
pd_df = timeseries.to_pandas_dataframe()
# Convert to Polars data frame
pl_df = timeseries.to_polars_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 with SRMC calculations
- Intraday trade OHLC data
- Power purchase agreement (PPA) prices
- Shows your subscription for each data series
- Support for timezones, resolutions, aggregations and unit conversions
- Easy-to-use filters for issue dates and forecast types