Skip to main content
Pre-release

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

Pulse (phzyx-pulse)

Reliable-by-default background tasks for modern Python.

Status 0.1.0a1 — core MVP (memory + Redis, worker, late ACK, retries, DLQ, beat, dashboard)
Package phzyx-pulse
Import phzyx.pulse
CLI pulse
Python ≥ 3.11
Brokers Memory (default) · Redis (included; redis is a core dependency)
Docs phzyx.xyz/pulse
Repo github.com/phzyxyz/pulse
License MIT

Install

uv add phzyx-pulse
export PULSE_BROKER_URL=redis://localhost:6379/0
export PULSE_IMPORTS=myapp.tasks
pulse worker

Quick start (eager — no worker)

from phzyx.pulse import Pulse, set_app, task

set_app(Pulse(eager=True))

@task
def add(x: int, y: int) -> int:
    return x + y

print(add.delay(1, 2).get())  # 3

Worker mode

# tasks.py
from phzyx.pulse import task

@task
def add(x: int, y: int) -> int:
    return x + y
export PULSE_IMPORTS=tasks
export PULSE_BROKER_URL=redis://localhost:6379/0
# terminal A
pulse worker -v
# terminal B — enqueue from Python with the same tasks imported

CLI

pulse --version
pulse info
pulse doctor
pulse worker --queue default
pulse beat
pulse dashboard --port 8787
pulse retry <job-id>

Design locks

  • Import phzyx.pulse only (not phzyx_pulse)
  • Late ACK by default
  • No pickle default serializer (JSON)
  • ETA stored on broker (not worker RAM)
  • Built-in DLQ + lease tokens + visibility reclaim
  • Not part of Forge — separate product under phzyxyz/pulse

Docs

Realistic stack (OrbStack)

./examples/realistic_stack/scripts/up.sh
# API  http://127.0.0.1:18443/health
# Dash http://127.0.0.1:18787/
# Redis localhost:16379

Stack press (benchmarks)

uv pip install 'phzyx-pulse[press]'
PYTHONPATH=src:. uv run python -m benchmarks.press.run_all_mp \
  --n 1000 --work-iters 5000 --workers 2 4
# → benchmarks/press/RESULTS/SUMMARY_MP.md

Not under forge

Product code lives only here. Do not add Pulse packages to the Forge tree.

Metadata

Release files for phzyx-pulse 0.1.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 phzyx-pulse 0.1.0a1
File Size Uploaded
phzyx_pulse-0.1.0a1.tar.gz 175.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phzyx-pulse 0.1.0a1
File Interpreter ABI Platform
phzyx_pulse-0.1.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 308.7 kB

Release files / phzyx_pulse-0.1.0a1.tar.gz

Download URL phzyx_pulse-0.1.0a1.tar.gz
Size 175.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cc1359ce372b8b1d674d78daf3180f97c1ed6c5400d62374112f17d29dc22447
BLAKE2b-256 checksum
How to use checksums
0d8d79372b12c1b65337f91a69cf791298dfe76283aa64c963ef774cd22cb78c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 29, 2026.

Transparency log

Release files / phzyx_pulse-0.1.0a1-py3-none-any.whl

Download URL phzyx_pulse-0.1.0a1-py3-none-any.whl
Size 133.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc22d18c89fdb1968f220025fa7c14cac5d433a34cccc4238b15434c8dad170b
BLAKE2b-256 checksum
How to use checksums
e3592f8605446645a627edc9dab88115d13d715d3f2b7ce04a7f73c93f9ce1dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 release files

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