Skip to main content

Horsies Logo

Horsies

PostgreSQL-backed background task queue and workflow engine for Python.

Full Documentation | PyPI | GitHub


Why Postgres

Every guarantee horsies makes is a Postgres primitive, not a client-side convention:

  • Claiming: one server-side function under FOR UPDATE SKIP LOCKED; a claim-generation fence rejects stale attempts, including a worker re-claiming its own requeued task.
  • Finalization: row lock → immutable attempt-history append → state transition, one transaction.
  • Recovery: all state is rows and timestamps; the reaper reconstructs and repairs after a worker dies mid-flight — nothing in-flight exists only in a broker's memory.
  • Workflows: fan-in, completion, and subworkflow cascades are multi-row transitions under a documented lock order.
  • Dispatch: LISTEN/NOTIFY push — no polling.
  • Inspection: history is plain tables — SQL, EXPLAIN, your existing backups; Syce reads the same rows.

Measured hot-path latencies: performance.

Monitoring

Horsies includes Syce, a terminal-based UI for monitoring your cluster in real-time.

Syce Dashboard

Syce Setup & Usage

Testing & Correctness

Coverage

3,200+ test functions across unit, real-Postgres integration, e2e worker-process, and PgBouncer contract suites — a 2.2:1 test-to-source line ratio, weighted toward failure paths: crash recovery, claim fencing, cancel/completion races, rolling upgrades, and EXPLAIN ANALYZE plan assertions pinning the hot-path statements to their indexes. The claim/finalize semantics are additionally cross-validated against an independent Rust reimplementation of the engine.

Pre-1.0 is an API-contract statement, not an engine-maturity statement: breaking API changes may still land in minor releases and are documented in the changelog.

Metadata

Release files for horsies 0.5.5

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

Source distribution (sdist)

Source distribution for horsies 0.5.5
File Size Uploaded Provenance Actions
horsies-0.5.5.tar.gz 1.2 MB With provenance Details for horsies-0.5.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for horsies 0.5.5
File Interpreter ABI Platform Actions
horsies-0.5.5-py3-none-any.whl Python 3 none any Details for horsies-0.5.5-py3-none-any.whl

Total release size: 2.4 MB

Release files / horsies-0.5.5.tar.gz

Download URL horsies-0.5.5.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
9790a074223e5ddbed474b49ac2290b8dc9d727f171aff7f4999ce65be49fa33
BLAKE2b-256 checksum
How to use checksums
e2862be729b86e0476cdda80316b2ccc93c0e03a39054c46293b9246015459b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / horsies-0.5.5-py3-none-any.whl

Download URL horsies-0.5.5-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f76fa8d282a6de3f76c6c9f9448f49c812c2b96480b641c0d87aa108b8de2f12
BLAKE2b-256 checksum
How to use checksums
ae0c8510aa7f1d1eff5bed6ae911d2bd215e729fe73e52102556b72b9ded1230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for horsies 0.5.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for horsies-0.5.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

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

0.5.5 This release

2 release files Full provenance

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