Scan your whole stack
Are you using framelens?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.1
framelens was last scanned on 28 Nov 2026 at version 0.4.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.4.1 LATEST | 28 Nov 2026 | No rules fired |
| 0.4.0 | 28 Nov 2026 | No rules fired |
Findings for v0.4.1. 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.4.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Python client for FrameLensAI — evaluation and regression testing for video AI.
FrameLensAI turns "did the new model get worse?" from a vibe into a gated, statistical answer: versioned video test suites → provider-neutral eval runs → video-native metrics with confidence intervals → CI gates that block confident regressions.
This package is the client. It talks to a FrameLens server (self-hosted via
docker compose, or run locally with make dev); it does not run evals by
itself.
pip install framelens
Requires Python 3.10+. The only dependency is httpx.
from framelens import FrameLens
fl = FrameLens(api_key="dev-key", base_url="http://localhost:8000")
sha = fl.upload_video("clip.mp4") # content-addressed; re-upload is a no-op
project = fl.create_project("perimeter-security")
dataset = fl.create_dataset(project["id"], "intrusion-events",
task_type="event_detection")
fl.add_case(dataset["id"], video_sha=sha,
ground_truth={"events": [{"start_ms": 4200, "end_ms": 6100}]})
fl.freeze(dataset["id"]) # immutable version snapshot
model = fl.create_model_config(project["id"], "gpt-4o", adapter="openai_compat",
params={"model": "gpt-4o"}) # api_key is encrypted server-side
run = fl.run(project["id"], dataset_id=dataset["id"],
model_config_id=model["id"])
run = fl.wait(run["id"]) # or fl.watch(...) for live SSE progress
print(run["summary"]["overall"]["event_f1"])
Runs are idempotent: the same (dataset version, model config, prompt, sampling) tuple produces the same fingerprint, and the server returns the
existing run instead of paying for it twice. run() tells you which happened
via outcome: created, cached, joined or resumed.
A gate fails only when a paired bootstrap says the regression is real — never on a single point estimate.
verdict = fl.gate(run["id"], baseline="main", gates=[
{"metric": "event_f1", "min_delta": -0.01},
{"metric": "fa_per_min", "max_delta": 0.05, "slice": "tags.night"},
])
from framelens import raise_for_gates
raise_for_gates(verdict) # FrameLensGateFailed, with a readable table
Installing the SDK auto-registers a pytest plugin (via the pytest11 entry
point) — no conftest.py wiring:
def test_no_regression(framelens_eval):
result = framelens_eval(
project_id, dataset_id=dataset_id, model_config_id=model_config_id,
gates=[{"metric": "event_f1", "min_delta": -0.01}])
result.assert_gates()
assert result.metric("event_f1") > 0.8
Point it at a server with --framelens-url / --framelens-key (or
FRAMELENS_API_URL / FRAMELENS_API_KEY), and use --framelens-subset smoke
so a PR gates a smoke subset while the nightly gates the full suite.
AsyncFrameLens mirrors the sync client method for method:
from framelens import AsyncFrameLens
async with AsyncFrameLens(api_key=..., base_url=...) as fl:
run = await fl.run(project_id, dataset_id=..., model_config_id=...)
run = await fl.wait(run["id"])
Every error inherits from FrameLensError and carries the server's
request_id, so a failure in your CI log is findable in the server's:
FrameLensAuthError · FrameLensPermissionError · FrameLensNotFoundError ·
FrameLensValidationError · FrameLensRateLimited · FrameLensServerError ·
FrameLensConnectionError · FrameLensTimeoutError · FrameLensVersionError ·
FrameLensRunFailed · FrameLensGateFailed
Transient failures retry with jittered backoff honouring Retry-After: a
429 for every method (refused ⇒ not executed), a 5xx or transport error only
where repeating is safe — GET/DELETE plus the POSTs the API makes idempotent.
fl = FrameLens(api_key=..., base_url=..., timeout=30.0,
verify="/etc/ssl/corp-ca.pem") # also: transport=, client=
List routes are cursor-paginated and capped; the SDK follows the cursor for you.
for prediction in fl.iter_predictions(run_id): # streams, follows next_cursor
...
cases = fl.list_cases(dataset_id) # same, materialised
Semver, pre-1.0: a minor bump may change behaviour, a patch may not.
framelens.API_VERSION is the API contract this client was written against and
is sent on every request, so an unsupported server answers at the first call
rather than deep inside a job.
Apache-2.0. The full text ships inside the package (LICENSE).
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.