Files
hatchet/sdks/python
Sunny Rochiramani 797c043e6c Fix: Update prometheus-client version to >=0.21.1 (#2098)
* Update prometheus-client version to >=0.21.1 (instead of being pinned to v0.21.1)

This MR relaxes the version constraint of prometheus-client from ^0.21.1 to >=0.22. The reason for this change is that the previous constraint was too strict and caused dependency conflicts in Poetry when used alongside other packages that require a newer version. Since prometheus-client>=0.22 is backward compatible, this update is safe and avoids unnecessary version resolution issues.

* Update pyproject.toml

Update patch version as per PR comments.
2025-08-06 18:13:05 -04:00
..
2025-07-17 13:54:40 -04:00
2025-07-20 22:44:08 -04:00
2025-03-11 14:57:13 -04:00
2025-03-11 14:57:13 -04:00
2025-03-11 14:57:13 -04:00
2025-04-03 11:27:19 -04:00

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.

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.