Skip to main content

tqu – A Minimal CLI for Queue-Based Task Tracking

tqu is a lightweight command-line tool designed for queue-based task tracking with minimal overhead. Instead of complicated features like priorities or due dates, tqu uses a simple push/pop workflow across one or multiple queues. Whether you're managing everyday chores, bills, or side projects, tqu keeps task tracking fast, intuitive, and distraction-free.

tqu demo

Highlights

  • Minimalist approach: Focuses solely on adding and removing tasks in a queue. No complicated features like priorities, due dates, or attachments.
  • Queue-Based: Default queue for simple use, but supports multiple queues for different contexts (e.g., “daily,” “bills,” “my_project”).
  • CLI-centric: Fast interaction entirely through the command line
  • Low Friction: Short commands with sensible defaults, and queues are auto-created without extra steps.

Installation

  1. Install (recommended via uv):

    uv tool install tqu
    

    or

    pipx install tqu
    

    or

    pip install --user tqu
    
  2. (Optional) By default, tqu stores its database at ~/.tqu.sqlite. You can customize the location by setting the TQU_DB_PATH environment variable:

    export TQU_DB_PATH="/path/to/your/custom/database.sqlite"
    

Usage

Below are the commands you can run with tqu. In all cases, if you omit the queue name, default is used.

Basic: Single Queue Mode

For simple task management, you can use the default queue without specifying a queue name:

  1. Add a task to the default queue:

    tqu add "Pay electricity bill"
    
  2. List tasks in the default queue:

    tqu list
    

    This shows active tasks along with their IDs, oldest added task first.

  3. Remove the most recent (last) task from the default queue:

    tqu pop
    

    or

    tqu poplast
    

    This prints the removed task.

  4. Remove the least recent (first) task from the default queue:

    tqu popfirst
    

    This prints the removed task.

  5. Delete a task by its unique integer ID (no queue needed):

    tqu delete <task_id>
    
  6. Delete the default queue (and all tasks in it):

    tqu delete
    

    This prints all removed tasks from that queue.

Advanced: Multiple Queue Mode

Organize tasks into separate queues for different contexts. For multiple queues, simply add <queue> as the last argument.

  1. Add a task to a specific queue:

    tqu add "Buy groceries" errands
    

    If the queue “errands” does not exist, tqu creates it automatically. Note that, queue name can not be only numeric.

  2. List tasks in a specific queue:

    tqu list errands
    
  3. Pop the most recent task from a specific queue:

    tqu pop errands
    

    (or “poplast”)

  4. Pop the least recent task from a specific queue:

    tqu popfirst errands
    
  5. Delete an entire queue (and all tasks in it):

    tqu delete errands
    
  6. Delete a single task by ID (no need for queue name):

    tqu delete <task_id>
    
  7. List all queues that have at least one active task:

    tqu
    

Everyday Use Cases

Here are some everyday scenarios in which tqu can keep you organized:

  1. Daily Planning: Keep track of things you need to do today or this month in queues like today, month, feb2025, or biils.
  2. Reimbursements: Keep track of reimbursements you need to file at the end of the month in a queue named reimbursements.
  3. Reading / Watch / Listen Lists: Keep track of books, papers, blogs, movies, podcasts, or music you want to consume in queues like books, papers, movies, podcasts, or music.
  4. Side Projects: Keep track of tasks for side projects in queues like project1, project2, or project3.
  5. Travel Planning: Keep track of things you need to do before your next trip in a queue named travel or taiwan-trip.

License

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

Metadata

Release files for tqu 1.0.2

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

Source distribution (sdist)

Source distribution for tqu 1.0.2
File Size Uploaded Provenance Actions
tqu-1.0.2.tar.gz 8.0 kB Without provenance Details for tqu-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 16.0 kB

Release files / tqu-1.0.2.tar.gz

Download URL tqu-1.0.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
155385e6aa27dab11f0c20ec7a7305e82386e0e0d94dfa9ec1a694e5ef40f4d5
BLAKE2b-256 checksum
How to use checksums
f17bead3cdeac8044d08df6e98631c0baed419ca8a49e97accabea5b481e7b65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.26

Release files / tqu-1.0.2-py3-none-any.whl

Download URL tqu-1.0.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa0bfd615f357abac7156b353f0d50285b2852808fb26d93920a89ad0a374940
BLAKE2b-256 checksum
How to use checksums
4fd319fae457d56732ff2cb957cb24d46816daca17fc3440103f9e101c3ff3eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.26

Security for tqu 1.0.2

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

1.0.2 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