Skip to main content

Standalone Python compatibility implementation of Backlog.md

Project description

backlog-md-py

backlog-md-py is a standalone Python implementation of the local-file Backlog.md task workflow. It keeps Backlog.md projects as Markdown files on disk, while providing a Python CLI, Python helper functions, SDK-free MCP server, singleton daemon for multi-agent setups, browser board, and optional Textual TUI.

Use it when you want Backlog.md-compatible project tracking from Python tooling or local agents without requiring a Node or Bun runtime.

Status And Safety

This project is stable starting with the 1.0 release line. The audited compatibility inventory reports the documented local-file CLI, Python helper, MCP, daemon, browser-board, and TUI surfaces as implemented for the current baseline. The supported 1.x contract is the behavior represented in the compatibility inventory, stability policy, and parity docs.

The source of truth remains the backlog/ Markdown directory in each project. Before live mutation in a consuming project, run copied-repository smoke tests and review the resulting diff. See the stability policy for the supported contract and release gate.

Do not alias backlog-py to backlog unless the target project has made an explicit project cutover decision.

Quick Start

For released versions, install from PyPI:

python -m pip install backlog-md-py

For unreleased commits, install from GitHub:

python -m pip install "git+https://github.com/rmusser01/backlog-md-py.git"

Run the CLI against a Backlog.md project:

backlog-py --help
backlog-py --cwd /path/to/project task list --plain
backlog-py --cwd /path/to/project board
backlog-py --cwd /path/to/project browser --port 6420 --no-open
backlog-py compat status

For a safe first run, start with a scratch project:

mkdir -p /tmp/backlog-md-py-demo
backlog-py --cwd /tmp/backlog-md-py-demo init --defaults --no-git
backlog-py --cwd /tmp/backlog-md-py-demo task create "Try backlog-md-py" --plain
backlog-py --cwd /tmp/backlog-md-py-demo board

Interfaces At A Glance

  • CLI: backlog-py --cwd /path/to/project ...
  • Python module entry point: python -m backlog_py ...
  • Python helpers: import from backlog_py.mcp and backlog_py.storage.project
  • MCP stdio: backlog-py-mcp
  • Multi-agent singleton daemon: backlog-py daemon ensure
  • Orchestration coordination: backlog-py --cwd /path/to/project orchestration status
  • Browser board: backlog-py --cwd /path/to/project browser --port 6420
  • Optional TUI: install backlog-md-py[tui], then run backlog-py --cwd /path/to/project tui

The plain CLI and MCP tools are the recommended automation surfaces. The browser board and TUI are human-facing project navigation surfaces.

Agent And MCP Use

backlog-py-mcp is included by default and provides SDK-free MCP stdio mode:

backlog-py-mcp

For multi-agent environments, prefer one local singleton daemon and let MCP clients connect through it:

backlog-py daemon ensure
backlog-py daemon status --json

See integration.md for CLI, Python helper, and MCP configuration, and singleton-daemon.md for daemon setup and rollback guidance.

How It Fits Together

All interfaces resolve a Backlog.md project, parse Markdown-backed records, and delegate mutations to shared core services that preserve unowned Markdown sections and serialize writes with local filesystem locks. The daemon is a process-reuse and coordination layer, not a separate database. The optional SQLite index is disposable read acceleration; Markdown remains authoritative.

See architecture.md for a contributor-oriented system map.

Documentation

Start with the documentation index. The most commonly used references are:

Development

Use Python 3.11, 3.12, or 3.13. Create a local virtual environment with uv and install editable development dependencies:

uv venv --python 3.13 .venv
source .venv/bin/activate
uv pip install -e ".[dev]"

Run the focused agent-critical gate or the full test suite:

uv run --extra dev python -m pytest tests/test_agent_critical_matrix.py -v
uv run --extra dev python -m pytest tests -v

See CONTRIBUTING.md for the contributor workflow and architecture.md for the source layout.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backlog_md_py-1.0.0.tar.gz (390.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backlog_md_py-1.0.0-py3-none-any.whl (193.5 kB view details)

Uploaded Python 3

File details

Details for the file backlog_md_py-1.0.0.tar.gz.

File metadata

  • Download URL: backlog_md_py-1.0.0.tar.gz
  • Upload date:
  • Size: 390.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for backlog_md_py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c4d7cdd0cdceaa0f7fcdc7ed69013d88f6293056f9418330840d849a47c55f5c
MD5 c5f1b4cd4d1938e8e4206feaf0e2f419
BLAKE2b-256 2e0d32647a624aba086f1045647e0308a3eb8fefd5c9303a5e4455f94e3505b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for backlog_md_py-1.0.0.tar.gz:

Publisher: release.yml on rmusser01/backlog-md-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file backlog_md_py-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: backlog_md_py-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 193.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for backlog_md_py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6faecf9f6bd40d804954dff0b94b62446164c12155e0330fd0a9ac7248a7eb93
MD5 05830e300d442730e6456d1f25af646b
BLAKE2b-256 0e56a45ececd7b9435cca6d0c3de6d71bc02f0e50dbb775f08ae5ba2334bca5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for backlog_md_py-1.0.0-py3-none-any.whl:

Publisher: release.yml on rmusser01/backlog-md-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page