Skip to main content

india-energy-atlas

Python client for the India Energy Atlas forecast, scorecard and event API. Every forecast comes from the Atlas vintage archive exactly as it was published, and every call returns a pandas DataFrame.

pip install india-energy-atlas

You need an API key: create one at https://www.energymap.in/settings#api-keys and set it as ENERGYATLAS_API_KEY (in Google Colab, as a notebook secret of that name).

from india_energy_atlas import Client

atlas = Client()                              # reads ENERGYATLAS_API_KEY
dam = atlas.dam()                             # the newest next-day DAM forecast: 96 blocks, p10/p50/p90 in INR/MWh
rtm = atlas.rtm(variant="intraday")           # the rolling RTM forecast, each block's newest issue
outlook = atlas.outlook(days=14)              # D+1..D+14 DAM outlook
scores = atlas.scores(window_days=30)         # the forecast scorecard
events = atlas.events(type="price_cap_day")   # the Grid Event Ledger
sheet = atlas.forecast_csv("DAM")             # the desk block sheet, CSV bytes
prices = atlas.prices("2026-09-01", "2026-09-30")  # IEX clearing prices, one row a block

# Growth and Enterprise plans: any forecast as it stood at a time
from datetime import datetime
from zoneinfo import ZoneInfo
then = atlas.vintages("DAM", "2026-10-05", as_of=datetime(2026, 10, 4, 6, 5, tzinfo=ZoneInfo("Asia/Kolkata")))

df.attrs["meta"] holds the response's metadata: issue time, unit, plan access and the monthly quota left.

Error When
AuthError 401: the key is missing, invalid, revoked or expired.
NotInPlan 402: the plan does not include it. required_level names the level that does.
QuotaExceeded 429: a quota is used. resets_at gives the monthly reset, retry_after the seconds.
ApiError Any other error status.

The API, its plans and their limits: https://www.energymap.in/developer.

Not to be confused with the energyatlas package on PyPI, which is a different project.

Licence

Apache-2.0.

Metadata

Release files for india-energy-atlas 0.1.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 india-energy-atlas 0.1.0
File Size Uploaded
india_energy_atlas-0.1.0.tar.gz 14.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for india-energy-atlas 0.1.0
File Interpreter ABI Platform
india_energy_atlas-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.8 kB

Release files / india_energy_atlas-0.1.0.tar.gz

Download URL india_energy_atlas-0.1.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b095c50d00d2f6461f602a974450717221e2637ae9de8f9c1f829228a0f676d4
BLAKE2b-256 checksum
How to use checksums
01a5683e2743ae1418a0c22323c4bbeb6d398334fc075f0266b6f2c31c7a17b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / india_energy_atlas-0.1.0-py3-none-any.whl

Download URL india_energy_atlas-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4198a8057d10286d17f6b7afa0e65895ed6a46e6f82fe2b6c2e6ebf3ca4dadd
BLAKE2b-256 checksum
How to use checksums
c535170418c924912ae6ad55a4a25d209bc063dc78207b3c014c4713c7aca4ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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