--- id: restate-sdk version: "1.0.4" license: unclear license_treatment: unclear maintenance: active --- # restate-sdk — A Python SDK for Restate License: unclear · Maintenance: active · Downloads: 325.9K/mo ## What it is and what it does Restate SDK is a Python framework for writing services that use distributed durable async/await—a programming model where async functions can be paused, checkpointed, and resumed across failures without losing state. It integrates with a Restate Server to provide automatic recovery, deduplication, and reliable execution of distributed workflows. The SDK requires Python 3.10 or later and is built with Rust bindings for performance; it has no runtime dependencies, keeping deployment lean once installed. The framework is designed for building resilient applications where service failures, network interruptions, or crashes don't lose work in progress. Services define async functions that Restate tracks and replays on failure, making it suitable for workflows that span multiple services, long-running operations, or systems requiring strict exactly-once semantics. Compatibility with Restate Server versions 1.3 through 1.7 is documented, with some features (like scopes and limit keys) requiring Restate 1.7. Use it for: - Build multi-step workflows that survive service crashes and automatically resume from the last checkpoint - Implement saga patterns for distributed transactions across microservices with guaranteed consistency - Create long-running async operations (batch processing, data pipelines) that can be paused and resumed - Handle service-to-service communication with built-in deduplication and retry semantics - Develop event-driven systems where handlers must complete reliably despite transient failures ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Restate SDK provides a Python interface for building resilient distributed applications using durable async/await, enabling services to survive failures and resume from checkpoints. Yes, if you are building distributed systems where failure recovery and exactly-once execution semantics are critical. The active maintenance, zero runtime dependencies, and broad Python version support (3.10+) make it low-risk to adopt. The Rust compilation requirement is a minor friction point but is offset by prebuilt wheels for common platforms. Verify that Restate Server version compatibility aligns with your infrastructure before committing. ## Install pip install restate-sdk uv add restate-sdk poetry add restate-sdk ## Installing restate-sdk Before you install: Medium install friction due to Rust compilation requirements. The package is actively maintained with recent releases and supports current Python versions (3.10+). No runtime dependencies simplifies deployment once built. Quickstart: pip install restate_sdk import restate_sdk # Define a durable service @restate_sdk.service async def my_service(ctx, request): result = await ctx.call(another_service, request) return result Requires Python >= 3.10 and a running Restate Server instance (version 1.3–1.7 depending on feature requirements); Rust toolchain needed for local development/compilation. Verify before relying: - Whether the Rust compilation step requires a Rust toolchain on the target system or if prebuilt wheels cover all deployment scenarios - Performance characteristics and overhead compared to standard async frameworks - Specific use-case limitations or constraints beyond the documented Restate Server version compatibility ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 325.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags distributed durable async await, resilient service framework, fault-tolerant async python, workflow orchestration sdk, durable execution engine, distributed state management, failure recovery framework, distributed-systems, durable-execution, workflow-orchestration [View on SkillFed](https://skillfed.io/packages/restate-sdk) · [View on PyPI](https://pypi.org/project/restate-sdk/)