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

adag

Latest version: v0.3.49

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: jorgeecardona
58 Versions
6.3K Downloads

Scan summary

adag was last scanned on 26 Nov 2026 at version 0.3.49. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 58 versions; the latest 5 were published within 3 days (24–26 Nov 2026).
  • Findings: No rules fired in version 0.3.49.
  • Downloads: 6,307 downloads.

Versions

58 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.49 LATEST 26 Nov 2026 No rules fired
0.3.45 26 Nov 2026 No rules fired
0.3.44 24 Nov 2026 No rules fired
0.3.43 24 Nov 2026 Not shown
0.3.42 24 Nov 2026 Not shown

No rules fired in 0.3.49

Findings

Findings for v0.3.49. 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.49; other versions have their own rules, not their own score.

README

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

adag

PyPI version Python versions License: MIT

A DAG engine for Python data and ML pipelines with a content-addressed cache. A step's cache key is a hash of its fields, its inputs, and its source code. Change any of them and that step and everything downstream recompute. Nothing else does.

Install

pip install adag

Requires Python 3.12 or newer. CI runs the tests on 3.12 and 3.13.

Quickstart

Each step is a frozen dataclass. Call a step to wire it into the graph, then run the graph with a Pipeline.

from dataclasses import dataclass
from pathlib import Path

from pydantic import BaseModel

from adag import InputParam, Pipeline, Step


class Number(BaseModel):
    value: int


@dataclass(frozen=True)
class Square(Step[Number]):
    def run(self, x: int) -> Number:
        print("computing square")
        return Number(value=x * x)


@dataclass(frozen=True)
class AddOne(Step[Number]):
    def run(self, n: Number) -> Number:
        return Number(value=n.value + 1)


x = InputParam[int]("x")
total = AddOne()(n=Square()(x=x))
pipeline = Pipeline(total, cache_dir=Path("cache"))

print(pipeline.execute(x=4))  # computes both steps
print(pipeline.execute(x=4))  # served from the cache

The second run reads both results from cache/ and does not call Square.run again:

computing square
value=17
value=17

(output trimmed: structlog lines removed)

Why adag

Use it for data and ML pipelines where steps are slow and you rerun the graph often. How it compares to Luigi, Airflow, Prefect, Dagster, Hamilton and redun: Why adag.

Key features

  • Content-addressed cache: a code edit invalidates only the steps it touches.
  • Config fields stay out of the cache key (worker counts, clients, timeouts).
  • Sync and async steps (Step, AsyncStep), with a parallel executor.
  • BatchStep caches each item on its own, so a rerun resumes after a failure.
  • FanOutStep runs a sub-graph per key.
  • LoopStep runs a sub-graph in rounds, each feeding the next, until a condition holds. Each round is cached.
  • runs_on = "thread" or "process" on a step: thread steps keep the event loop free; process steps run CPU-bound code in workers.
  • Cache stores for step results and BatchStep items: filesystem, memory, SQLite, SQLAlchemy (adag[sql]), Redis (adag[redis]). Pass one with Pipeline(..., store=).
  • explain_key lists every part of a cache key, so you can see why a step ran again.
  • save_result and load_result cache a result in your own format (JSONL, a directory).
  • Save a pipeline to disk and load it back with identical hashes.
  • SVG rendering of the graph, and an adag run pipeline.py CLI.
  • Run fan-out branches in worker processes or on a job scheduler (AWS Batch, SLURM, Kubernetes): write submit, status and cancel; adag does retries, timeouts and cancel.

Links

Contributing

Developer setup, the dev loop, and the release process live in CONTRIBUTING.md. In short: uv sync && make install-hooks, then make check runs the same gate CI runs.

License

MIT © 2026 Jorge Cardona (see LICENSE).

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 adag

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229