Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Hatchet Python SDK

PyPI version Documentation License: MIT

This is the official Python SDK for Hatchet, a distributed, fault-tolerant task queue. The SDK allows you to easily integrate Hatchet's task scheduling and workflow orchestration capabilities into your Python applications.

Documentation for agents

The linked pages serve plain markdown for tools and agents. Full docs index: https://docs.hatchet.run/llms.txt

Setup and local development:

Core concepts:

Flow control:

Python SDK reference (overview: https://docs.hatchet.run/reference/python.md):

Installation

Install the SDK using pip:

pip install hatchet-sdk

Or using poetry:

poetry add hatchet-sdk

Quick Start

For examples of how to use the Hatchet Python SDK, including worker setup and task execution, please see our official documentation.

Features

  • 🔄 Workflow Orchestration: Define complex workflows with dependencies and parallel execution
  • 🔁 Automatic Retries: Configure retry policies for handling transient failures
  • 📊 Observability: Track workflow progress and monitor execution metrics
  • ⏰ Scheduling: Schedule workflows to run at specific times or on a recurring basis
  • 🔄 Event-Driven: Trigger workflows based on events in your system

Documentation

For detailed documentation, examples, and best practices, visit:

Contributing

We welcome contributions! Please check out our contributing guidelines and join our Discord community for discussions and support.

License

This SDK is released under the MIT License. See LICENSE for details.

Metadata

Release files for hatchet-sdk 2.0.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hatchet-sdk 2.0.0a1
File Size Uploaded Provenance Actions
hatchet_sdk-2.0.0a1.tar.gz 5.5 kB Without provenance Details for hatchet_sdk-2.0.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hatchet-sdk 2.0.0a1
File Interpreter ABI Platform Actions
hatchet_sdk-2.0.0a1-py3-none-any.whl Python 3 none any Details for hatchet_sdk-2.0.0a1-py3-none-any.whl

Total release size: 733.9 kB

Release files / hatchet_sdk-2.0.0a1.tar.gz

Download URL hatchet_sdk-2.0.0a1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
be080d0702645fadd5a8598619dc936d4794ef172e5d3d8ebbf5305a7db7772f
BLAKE2b-256 checksum
How to use checksums
ed026aa96306b176dd61d899bfaa3217452fada9a0b85e0a5020c67921178d6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.0 CPython/3.12.3 Linux/6.14.0-1017-azure

Release files / hatchet_sdk-2.0.0a1-py3-none-any.whl

Download URL hatchet_sdk-2.0.0a1-py3-none-any.whl
Size 728.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5441401816acc6ccddda33ab4eea3222d329f53bd09f708b4077917c0e4cb140
BLAKE2b-256 checksum
How to use checksums
0c9bb5407c032d82fb1eea3cfaa12c291c15e424f7831506bdc59c789aaf2979
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.0 CPython/3.12.3 Linux/6.14.0-1017-azure

Security for hatchet-sdk 2.0.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page