Taskwarrior wrapper python module
Project description
pytaskwarrior
A modern Python wrapper for TaskWarrior, the command-line task management tool.
Features
- ✅ Full CRUD operations for tasks
- ✅ Type-safe with Pydantic models
- ✅ Context management
- ✅ UDA (User Defined Attributes) support
- ✅ Recurring tasks and annotations
Requirements
- Python 3.12+
- TaskWarrior 3.4+ installed
Installation
pip install pytaskwarrior
Quick Start
from taskwarrior import TaskWarrior, TaskInputDTO, Priority
tw = TaskWarrior()
# Create a task
task = TaskInputDTO(
description="Important meeting",
priority=Priority.HIGH,
project="work",
due="friday"
)
added = tw.add_task(task)
# Get all pending tasks
for t in tw.get_tasks():
print(f"[{t.priority or '-'}] {t.description}")
# Complete a task
tw.done_task(added.uuid)
Documentation
Full documentation: GitHub Repository
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytaskwarrior-1.0.0rc1.tar.gz
(22.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytaskwarrior-1.0.0rc1.tar.gz.
File metadata
- Download URL: pytaskwarrior-1.0.0rc1.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5a3f1f5e64ffc9a7f7ff74cde9becd1c4b31e03ab32b02e0f86f3b2641a04c1
|
|
| MD5 |
568bc9a1f7bc89769e56e66b6cb52ad1
|
|
| BLAKE2b-256 |
051b9f413926199bf68409857886fbecb8b9eaa5c04c0b2389f96ceebb3cd642
|
File details
Details for the file pytaskwarrior-1.0.0rc1-py3-none-any.whl.
File metadata
- Download URL: pytaskwarrior-1.0.0rc1-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac978fbbac4285d2988679a4a7b473deadda4361a5d1ceb94914ca40382289b1
|
|
| MD5 |
0a21b4507d14d2623658afbb1b7f1bbb
|
|
| BLAKE2b-256 |
5bf7e1c08cc3791446e8b4b26a016a615a31796cb8c9ac1a6b36e414d8966691
|