feat: ENTSO-E Transparency Platform client with day-ahead prices#8
Merged
feat: ENTSO-E Transparency Platform client with day-ahead prices#8
Conversation
Implements ENTSOEClient wrapping entsoe-py, covering 20 bidding zones (NO1-5, SE1-4, DK1-2, FI, DE-LU, FR, BE, NL, AT, CH, GB, PL). Maps HTTP errors to AuthenticationError/RateLimitError/ExchangeAPIError, converts all prices to Decimal, and normalises the index to UTC. Wires CH and GB zones into NexaClient so they route to ENTSO-E automatically. Adds 20 unit tests (mocked) and 4 live integration tests (skipped in CI). Also adds the entsoe-py dependency, updates pyproject.toml, CI workflow, CLAUDE.md, README status table, and an example notebook. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ENTSOEClientwrappingentsoe-py, supporting 20 bidding zones (NO1-5, SE1-4, DK1-2, FI, DE-LU, FR, BE, NL, AT, CH, GB, PL)Decimalwith a UTC-awareDatetimeIndex; HTTP errors mapped toAuthenticationError/RateLimitError/ExchangeAPIErrorNexaClientso they route to ENTSO-E automatically when an API key is configuredentsoe-pydependency; 20 unit tests (mocked, no live calls in CI) + 4 live integration tests (skipped unlessENTSOE_API_KEYset)examples/entsoe_day_ahead_prices.ipynbTest plan
make cipasses (lint + format + mypy + pytest) — 53 tests, 97% coverageNoMatchingDataError, unsupported zoneENTSOE_API_KEY)🤖 Generated with Claude Code