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 in beta. 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. Beta means the supported contract is ready for real project integration after validation, but it is not yet a 1.0 API freeze.

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
  • 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-0.3.0.tar.gz (333.4 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-0.3.0-py3-none-any.whl (166.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: backlog_md_py-0.3.0.tar.gz
  • Upload date:
  • Size: 333.4 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-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9161b5ba94475f827e5d4573891d57019e2014b85375fa7ac3e4abdb9e13b6a7
MD5 73aa3c4e77459a84a9961ca6796b4faf
BLAKE2b-256 dbb1973191e5ef22c9992a1e80fdeedc0a4f4ccf6b9bdac5913f5ff816a3222a

See more details on using hashes here.

Provenance

The following attestation bundles were made for backlog_md_py-0.3.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-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: backlog_md_py-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 166.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-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c978db93a5c55b5d382c747cecf614721a675cfeced59306684b27eed805d4
MD5 626aee8002f87f4d00ac7a4a600e0d5c
BLAKE2b-256 32988f7311a40a16ccdd267617b7bc3b28164b3cf12668ddad0ab4ef03fbe45e

See more details on using hashes here.

Provenance

The following attestation bundles were made for backlog_md_py-0.3.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