absurd-sdk
Python SDK for Absurd - PostgreSQL-based durable task execution
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem—durable task execution without external infrastructure—in a way that's genuinely simpler than multi-service alternatives if you already run Postgres. The alpha status reflects early maturity, but the recent release cadence and community interest (2335 stars) suggest it's production-ready for teams comfortable with that trade-off.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running PostgreSQL database; connection URL can be set via ABSURD_DATABASE_URL, PGDATABASE environment variables, or passed explicitly.
- Low install friction with a single runtime dependency (psycopg).
- Active maintenance with a recent release (10 days ago) and 2335 repository stars indicate ongoing development and community interest.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
last release 2026-08-04 (10 days) · last repo commit 2026-08-10 · 2,335 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 157,058 downloads/mo, #10,768 on PyPI
Alternatives
Verify before relying
pip install absurd-sdk
from absurd_sdk import Absurd
app = Absurd("postgresql://localhost/absurd")
@app.register_task(name="my-task")
def my_task(params, ctx):
@ctx.run_step("step-name")
def step_work():
return {"result": 42}
return step_work
app.start_worker()- Whether Postgres schema is automatically initialized on first connection or requires manual setup
- Performance characteristics and scalability limits for high-volume task workloads
- Retry policy configuration options and backoff strategies
- Support for task priorities or custom scheduling logic
What it is and what it does
Absurd SDK provides a Python interface to Absurd, a durable execution system built entirely on PostgreSQL. It lets you define long-running workflows as task functions that survive crashes, restarts, and network failures by decomposing work into recorded steps. Each step's result is persisted, so if a worker crashes mid-execution, the system can resume from the last completed step without duplicating work.
The SDK offers both synchronous and asynchronous APIs. You register tasks as decorated functions, define steps within them using either decorators (sync) or async/await patterns (async), and optionally wait for external events before proceeding. The system handles scheduling, retries, and state management automatically, requiring only a Postgres connection—no additional services, brokers, or infrastructure.
Use it for
- Order fulfillment workflows that process payments, reserve inventory, await shipment events, and send notifications across multiple steps.
- Multi-step data pipelines where intermediate results must survive worker restarts and be resumable from the last completed stage.
- Scheduled background jobs with built-in retry logic and durability, replacing simpler queue systems when crash-safety is required.
- Event-driven workflows that pause execution to await external events (e.g., webhook callbacks) before resuming downstream steps.
- Parent-child task hierarchies where one task spawns and durably waits for results from child tasks without losing state.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem—durable task execution without external infrastructure—in a way that's genuinely simpler than multi-service alternatives if you already run Postgres. The alpha status reflects early maturity, but the recent release cadence and community interest (2335 stars) suggest it's production-ready for teams comfortable with that trade-off.
Install
absurd-sdk on PyPI
Before you install
Low install friction with a single runtime dependency (psycopg). Active maintenance with a recent release (10 days ago) and 2335 repository stars indicate ongoing development and community interest.
Requires a running PostgreSQL database; connection URL can be set via ABSURD_DATABASE_URL, PGDATABASE environment variables, or passed explicitly.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install absurd-sdk
from absurd_sdk import Absurd
app = Absurd("postgresql://localhost/absurd")
@app.register_task(name="my-task")
def my_task(params, ctx):
@ctx.run_step("step-name")
def step_work():
return {"result": 42}
return step_work
app.start_worker()
Verify before relying
- Whether Postgres schema is automatically initialized on first connection or requires manual setup
- Performance characteristics and scalability limits for high-volume task workloads
- Retry policy configuration options and backoff strategies
- Support for task priorities or custom scheduling logic
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepsycopg |
| Maintenance | Actively maintained 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 157,058 / month, #10,768 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Typing :: Typed |
Evidence: absurd_sdk-0.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “postgresql workflow system”
- absurd-sdkPython SDK for Absurd, a PostgreSQL-based durable task execution…
- pulumi-postgresqlPulumi resource provider for declaring and managing PostgreSQL…
- PyPgConfigPyPgConfig detects and exposes PostgreSQL configuration details from…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also pydantic-ai-absurd · aws-durable-execution-sdk-python · dbos · inngest · render_sdk · durabletask · durabletask.azuremanaged · pgqueuer · hatchet-sdk · azure-functions-durable