Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

sunsightenergy

Latest version: v0.3.6

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
PyPI package Publisher: sunsight
6 Versions

Scan summary

sunsightenergy was last scanned on 30 Nov 2026 at version 0.3.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest was published on 30 Nov 2026.
  • Findings: No rules fired in version 0.3.6.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.6 LATEST 30 Nov 2026 No rules fired
0.3.5 26 Oct 2026 No rules fired
0.3.4 22 Oct 2026 No rules fired
0.3.3 18 Oct 2026 Not shown
0.3.2 18 Oct 2026 Not shown

No rules fired in 0.3.6

Findings

Findings for v0.3.6. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.6; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Sunsight Energy Python SDK

Python client for the Sunsight Energy data API: real-time and historical data for US/Canadian ISOs (ERCOT, PJM, CAISO, SPP, MISO, NYISO, ISONE, IESO), weather and satellite imagery.

You ask for a dataset and a time range. The SDK handles paging, your plan's date-range limit, retries and file formats, and hands back a pandas or polars DataFrame, parquet files on disk, or images in a folder.

Install

pip install sunsightenergy            # pandas
pip install "sunsightenergy[polars]"  # + polars output

Python 3.10+. Works in Jupyter, Google Colab, scripts and pipelines.

Quick start

import sunsightenergy as ss

c = ss.Client("ss_live_...")          # or set SUNSIGHT_API_KEY and use ss.Client()

df = c.get("ercot_load", "2026-09-01", "2026-10-01")
df.plot(x="interval_end_utc", y="load")

Create a key in the portal under API Platform → API Keys.

Coming from Grid Status

The client has gridstatusio's methods with the same arguments, so existing code only needs a new import and key:

from sunsightenergy import Client as GridStatusClient

client = GridStatusClient("ss_live_...")
df = client.get_dataset(
    dataset="ercot_load",
    start="2026-10-04",
    end="2026-10-05",
    timezone="market",
)
client.list_datasets(filter_term="lmp")
client.get_dataset_metadata("ercot_load")
client.get_api_usage()

Version 0.3.5 preserves nullable integer columns in pandas and compares numeric filters by value, including filters applied after merging latest forecast windows. 7 and 7.0 match the same integer; nulls do not match numeric predicates, and string IDs such as 01 keep their exact spelling.

get_dataset takes every Grid Status argument: publish_time_start, publish_time_end, publish_time ("latest", "latest_report" or a timestamp), columns, filter_column / filter_value / filter_operator (including "in"), resample / resample_by / resample_function, limit, page_size, timezone, verbose and return_format ("pandas", "polars", "python"). Differences:

  • timezone defaults to "market" (Grid Status defaults to UTC). Pass timezone="UTC" for Grid Status's default output.
  • For forecasts, start/end are delivery times as on Grid Status. The client searches retained publications rather than assuming a seven-day horizon. Use publish_time_start and publish_time_end to bound publication history when known; this substantially reduces reads for long-lived datasets.
  • get_daily_peak_report isn't available.

Loading data

# pandas (default), polars, or a pyarrow Table
df  = c.get("pjm_load", "2026-09-01", "2026-10-01")
pdf = c.get("pjm_load", "2026-09-01", "2026-10-01", output="polars")

# One market day: ERCOT's operating day 2026-10-04, in Central time
df = c.get("ercot_load", day="2026-10-04")

# Fewer columns, a filter, a row limit, another timezone
df = c.get(
    "pjm_load", "2026-09-01", "2026-09-08",
    columns=["interval_start_utc", "pjm_rto"],
    filter=("pjm_rto", ">", 90000),        # ("col", value) means "="; a list value means "in"
    limit=1000,
    timezone="UTC",                        # "market" (default), "UTC", "CST"-style or any IANA name
)
  • start is inclusive and end exclusive. They accept strings, date, datetime or pd.Timestamp. A value without a timezone is read in timezone, which defaults to the market's own clock (Central for ERCOT and SPP, Eastern for PJM, NYISO and ISO-NE, Pacific for CAISO, fixed EST for MISO and IESO). So "2026-10-04" on an ERCOT dataset is midnight Central. end defaults to now; day= is one whole day.
  • Interval datasets filter on interval_start_utc, so a day is the intervals that start in it (as on Grid Status).
  • Every *_utc column stays UTC and gets a *_local twin in the query timezone. timezone="UTC" returns only the UTC columns.
  • Long ranges are split into the windows your plan allows and fetched in parallel where your plan allows, with one progress bar.
  • Timestamps come back as real timezone-aware datetimes; numbers as numbers.
Large ranges: save to disk
paths = c.download("pjm_load", "2025-01-01", "2026-01-01", dir="data/")
# data/pjm_load/2025-01-01.parquet, data/pjm_load/2025-01-02.parquet, ...
  • One parquet file per day in the query timezone (the market's by default). The folder is created if it doesn't exist.
  • Every run fetches every day again and overwrites its file, so the folder always matches the server. A day that no longer has data has its old file removed.
  • Read the folder back with any tool:
import pandas as pd, polars as pl
pd.read_parquet("data/pjm_load")
pl.scan_parquet("data/pjm_load/*.parquet").collect()
# DuckDB: SELECT * FROM read_parquet('data/pjm_load/*.parquet')
Bulk history: export
paths = c.export("pjm_load", "2016-01-01", "2026-01-01", dir="data/")
# data/pjm_load/2016-01-01.parquet, ... straight from storage
  • Saves the stored files as they are: whole partitions (usually one UTC day), every column, and every publication of a forecast. Filter after loading.
  • Much faster than download() for years of data, and it doesn't use your requests-at-a-time slots. Files already on disk at the stored size are skipped and not charged again (a day still being written is fetched again).
  • Every file counts its full size against your monthly data allowance, and your plan's date-range limit applies to each call.
  • Bulk export is the historical bulk backfill add-on ($500, Pro, Team and Enterprise). Without it, export() raises not_on_plan; get() and download() still pull any range your plan allows, a window at a time.
Process piece by piece
for chunk in c.stream("pjm_load", "2025-01-01", "2026-01-01"):
    print(len(chunk))                     # one DataFrame per window; memory stays flat

Forecasts

A forecast is published many times (ERCOT's 7-day load forecast: every hour), so each delivery hour has many predictions. start/end select publications: you get every forecast published in [start, end), each with its full horizon and its publish_time_utc.

ds = "ercot_load_forecast_by_forecast_zone"
c.info(ds)                     # kind: forecast; time column (start/end): publish_time_utc

all_ = c.get(ds, "2026-10-01", "2026-10-02")                    # 24 publications x 7-day horizon
best = c.get(ds, "2026-10-01", "2026-10-02", vintage="latest")  # newest forecast per delivery hour
then = c.get(ds, as_of="2026-10-01T09:00Z",                     # the forecast as it stood at 09:00,
             start="2026-10-02", end="2026-10-03")              # cut to delivery on Oct 2
  • vintage="latest" keeps, for each delivery interval, the newest publication in the window. Rows still carry publish_time_utc, so you see which won.
  • as_of= selects versions at or before the cutoff, without a publication-age cutoff (including snapshots older than a year). Interval forecasts select the newest version per interval and row identity; whole-report snapshots select the newest complete report per publication group. start/end are optional and filter delivery times when a delivery clock exists.
  • download() saves forecasts per publish day.
  • Snapshot datasets (reference lists, outage snapshots) select complete reports; a member removed by a newer report stays removed. Separately published report scopes keep their own latest capture. The server's query metadata describes these scopes and the version/delivery columns.
  • get(..., delivery_start=..., delivery_end=...) cuts forecast delivery while start/end select publication time. get_dataset() sends those delivery bounds automatically on compatible servers, including when columns= omits the delivery column. New eDART delivery columns include he_utc and effective_month.
  • vintage="latest" applies limit after selecting across publication windows. Whole-report snapshots use a single as_of selection across long ranges. publish_time="latest_report" honors publish_time_end as an exclusive cutoff.

For example, a December delivery can be found in a forecast issued in October:

df = c.get_dataset(
    "pjm_outages_90_day_forecast", start="2026-12-01", end="2026-12-02",
    publish_time_start="2026-10-01", publish_time_end="2026-10-18",
    publish_time="latest",
)

An as_of query uses the dataset's declared publication, acquisition or effective clock. It cannot reconstruct overwritten revisions or make an effective-date reference snapshot into a record of what was publicly known at that time.

IoT sensors

c.devices()                    # device_id + when it last checked in
df = c.get("sensor_readings", "2026-10-02", "2026-10-03",
           devices=["sunsight-001"],     # default: all devices
           images=True)                  # adds image_url: the sky photo for that reading

Device data is stored as hundreds of small files per device-day, so each request covers at most 7 days (get() splits longer ranges for you). images=True counts each distinct photo (about 450 KB) against your monthly data allowance.

Raw files

Original source files, byte for byte (PJM eDART outage reports, PJM workbooks):

f = c.files("pjm_transmission_outages_raw", "2026-10-02", "2026-10-03",
            source="linesout", dir="raw/")   # source= is optional: default all
f[["captured_at", "source", "filename", "local_path"]]

Same columns and options as images(), plus source. Each file counts its size against your monthly data allowance.

Images

# A table of images with download links (links last ~15 minutes)
imgs = c.images("goes19_regional_southcentral_truecolor", "2026-09-30", "2026-10-01")

# Also save them: imgs/goes19_regional_southcentral_truecolor/2026-09-30/<file>.jpg
imgs = c.images("goes19_regional_southcentral_truecolor", "2026-09-30", "2026-10-01", dir="imgs/")
imgs[["captured_at", "local_path"]]

Columns: captured_at (UTC), filename, size_bytes, url and, with dir=, local_path. Saving runs in parallel, skips files you already have, and recovers when a link expires mid-run. On networks that block direct storage links, pass via="api".

Finding datasets

The portal's API → Docs → Schema contracts section downloads sunsight-dataset-contracts.yaml: one file containing all published datasets visible to your account, generated from the latest catalog on each download. It includes descriptions, sources, columns/types, keys, timezones and resolved query behavior for observations, forecast vintages, snapshots and files. columns describes the stored schema; API responses can add local-time columns. query describes API time selection and latest/as-of support. Consult queryable and query_reason for products using file/image endpoints. This is metadata, not a data export or a statement of coverage; account permissions still apply.

c.datasets()                          # everything your key can see
c.datasets(search="ercot load")       # every word must match id, name, description or tags
c.datasets(queryable=True)            # only what get() can serve today

c.info("pjm_load")                    # columns + types, time column, data range
c.columns("pjm_load")                 # just the columns: name, type, description, primary_key

A dataset with queryable == False has a reason, e.g. it is a file or image dataset (use files() / images()).

Errors

Exception When
AuthError The key is missing or invalid.
ForbiddenError Your plan or key doesn't allow it: a range over the plan limit, image history on the free plan, a dataset outside the key's scope, a revoked key.
NotFoundError No such dataset.
NotQueryableError The dataset exists, but get() can't serve it yet (see reason).
QuotaExceededError This month's data allowance (GB delivered) is used up. Raised immediately, never retried.
RateLimitError Still over your plan's concurrent-request or requests-per-minute limit after waiting ~5 minutes.
SunsightError (code too_large, HTTP 413) Even an hour of the range is too much data for one request (the SDK splits larger windows in half on its own). Use fewer columns. For eDART tickets, exclude source_xml for discovery and filter a ticket ID to fetch its XML.

All of them subclass ss.SunsightError and include the server's message, the HTTP status_code, and a machine-readable code such as range_exceeded, not_scoped, quota_bytes or rate_limited:

try:
    df = c.get("pjm_load", "2026-01-01", "2026-03-01")
except ss.ForbiddenError as e:
    if e.code == "range_exceeded":
        ...

Network errors and server errors are retried (3 times by default).

Plan limits

Each plan limits:

Plan Requests at a time Requests per minute Days per request Data per month History Bulk export
Free Trial 1 60 7 3 GB last 30 days (images: 1 day), selected datasets —
Pro 4 1,200 365 150 GB full $500 add-on
Team 4 1,200 365 1 TB, split across up to 5 users full $500 add-on
Enterprise 8 6,000 366 custom full $500 add-on

Data per month is the bytes delivered to you: every response body, every exported file and every raw file or image link, across all your keys (1 GB = 2^30 bytes; resets on the 1st, UTC). The same data is several times smaller as parquet (the SDK's default) than as JSON or CSV. Rows are still counted and shown, but not limited.

The SDK reads your limits automatically (c.usage() shows them, plus data used this month), so a "days per request" limit never shows up in your code. If you hit the per-minute limit, the SDK waits until the next minute and carries on (one log line says so). Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases sunsightenergy

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229