Skip to main content

due – Tasks with @due tags from Markdown files

A terminal CLI that scans Markdown files for tasks carrying a @due(...) tag and presents them in an interactive fuzzy finder. Select a task to open the file at the exact line in your editor.

Python License PyPI

Termplate Logo

Screenshot

Table of Contents

Features

  • Fuzzy finder – interactive search across all tasks powered by InquirerPy
  • Two views – grouped by file (default) or flat list sorted by due date
  • Urgency indicators – overdue tasks are prefixed with !!! , tasks due today with !
  • Flexible filtering – include undated tasks, closed tasks, or filter to overdue / today / future only
  • Jump to line – opens the selected file at the exact task line in your editor
  • Path argument – pass any directory to scan instead of the current working directory
  • Zero-config start – works out of the box with nvim; one-line config to change the editor

Planned features

  • Support for additional tag formats
  • Multiple path arguments
  • Config option for custom date formats

Motivation & Mission

Most task managers pull you away from the files where the work actually lives. due stays out of the way: your tasks remain plain Markdown, your editor stays your editor. due just surfaces what needs attention and gets you to the right line in one keypress.

Installation

Requirements

See pyproject.toml.

Installation via pip

pip install pydue

due on PyPI

Installation from Source

  1. Clone this repository:

    git clone https://github.com/cgroening/due.git
    cd due
    
  2. Install the package to make the due command available globally:

    uv pip install .
    

Alternatively, due can be run without installation from the project root:

python -m due

Configuration

Create ~/.config/due/config.yaml. The file is optional – without it due falls back to nvim (or the $EDITOR environment variable).

editor: nvim

Configuration Options

Option Type Required Description Default
editor string No Editor command used to open files nvim

Usage

Basic Usage

due                   # grouped by file, @due tasks only, open tasks only
due ~/notes           # scan ~/notes instead of the current directory

Task Format

due recognises standard Markdown checkboxes with a @due(...) tag:

- [ ] Write release notes @due(2025-05-01)
- [ ] Review PR @due(2025-04-20)
- [x] Deploy to staging @due(2025-04-15)

Supported status characters: [ ] open, [x] done, [c] / [/] cancelled.

Command Line Commands and Options

due [PATH] [OPTIONS]
due list [PATH] [OPTIONS]
Option Short Description
--sort-by-date -s Flat list sorted by due date (oldest first) instead of grouped by file
--include-undated -u Include tasks that have no @due tag
--include-closed -c Include completed [x] and cancelled [c] tasks
--due-filter INT -d Show only: -1 overdue, 0 today, 1 future

Examples:

due                            # grouped by file, @due tasks, open only
due --sort-by-date             # flat list sorted by date (oldest first)
due --include-undated          # also show tasks without @due
due --include-closed           # also show [x] and [c] tasks
due --due-filter -1            # only overdue tasks
due --due-filter 0             # only tasks due today
due --due-filter 1             # only future tasks
due list --sort-by-date -u     # explicit list subcommand with flags
due ~/notes --sort-by-date     # scan a specific directory

Without Installation

python -m due

License

This project is licensed under the MIT License – see the LICENSE file for details.

Acknowledgments

  • Rich – Rich text and beautiful formatting in the terminal
  • InquirerPy – Fuzzy finder and interactive prompts
  • Typer – CLI framework based on Python type hints

Metadata

Release files for pydue 0.1.1

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

Source distribution (sdist)

Source distribution for pydue 0.1.1
File Size Uploaded Provenance Actions
pydue-0.1.1.tar.gz 19.3 kB Without provenance Details for pydue-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 41.1 kB

Release files / pydue-0.1.1.tar.gz

Download URL pydue-0.1.1.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
838682a2000e764403d665414ff9ac471712cb9de267fffea68f3fa07834f98c
BLAKE2b-256 checksum
How to use checksums
1b78f5b03743b9f2a67574dec9df1eb9d87b6ec7ee5b23d4cbeca154fbb08445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pydue-0.1.1-py3-none-any.whl

Download URL pydue-0.1.1-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37fff759429d6d7e9154ffe371fae06e562f7bccb9ed1c49b74e70b7e6d79324
BLAKE2b-256 checksum
How to use checksums
f01295db46a3430ce229ed9e0ed2f660469d070f5c40f16307dba29be1db0025
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pydue 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.1.1 This release

2 release files No 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