Skip to main content

Package for EPIAS (Turkish Electricity Market Operating Company) Transparency API Service

Project description

transparencyEpias

PyPI Latest Release

transparencyEpias is a package which consumes Epias Transparency Rest Web Services, mainly scopes to provide easy access to users public Turkish Electricity Market data.

Covers

  • Consumption Data Services
  • Natural Gas Data Services
  • Market Data Services
    -Dayahead Market Data
    -Intraday Market Data
    -Balancing Power Market Data
    -Ancillary Services Data
  • Production Data Services
  • Tools (Which includes useful functions like exporting excel, creating basic report etc. )

Installation

transparencyEpias requires python3 or latest versions to run. Also following packages need to be installed.

  • pandas
  • requests
  • datetime
  • json
  • xlsxwriter

Install the dependencies and install transparencyEpias.

$ python -m pip install transparencyEpias

Sample Usage

To be able to reach file user should follow instructions below.

  • MCP Values Example:
from transparency_epias.markets import dayaheadClient 
mcp_list = dayaheadClient.dayahead.mcp(startDate='2020-05-10',endDate='2020-05-10')[1]
>>>[249.99, 322.22, 321.82, 321.81, 310.01, 214, 79.96, 14.04, 1, 0, 0, 0, 0.87, 1, 4, 13.99, 97.45, 227.57,

 299.99, 323.23, 321.85, 308.56, 289.8, 284.99]
  • MCP Excel Export Example:
from transparency_epias.tools import reportClient
reportClient.reports.mcp_excel_export(startDate='2020-05-10',endDate='2020-05-10')
>>> User should get an xlsx document includes daily MCP price values to the path that python runs.
  • Simple Price Comparison Report Example:
from transparency_epias.tools import reportClient
reportClient.reports.compare_price()
>>> User should get a xlsx document includes MCP, SMP, and Weighted Avarage Price 

values to the path that python runs.

License

MIT

Soruce

https://seffaflik.epias.com.tr/transparency/

https://seffaflik.epias.com.tr/transparency/technical/en/

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

transparencyEpias-0.0.3.tar.gz (13.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page