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.0rc2.tar.gz
(22.4 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.0rc2.tar.gz.
File metadata
- Download URL: pytaskwarrior-1.0.0rc2.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0eb344a724436154af7b9e4abad63ea86663dbcc80ca93870e066b1ebd3f500d
|
|
| MD5 |
eb3af99afd6b62e66062c417676c0b46
|
|
| BLAKE2b-256 |
0f9891e38d083b72ad130d68459893ac6d1a877341290fcb30eef303ea91db06
|
File details
Details for the file pytaskwarrior-1.0.0rc2-py3-none-any.whl.
File metadata
- Download URL: pytaskwarrior-1.0.0rc2-py3-none-any.whl
- Upload date:
- Size: 26.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b361199291003e8be5233c0f9cdaf38998dabbe087659d59f7c0d0258082deec
|
|
| MD5 |
17c250b3d9dfc67184ab2b33819ca9ce
|
|
| BLAKE2b-256 |
8e65272c0d180826187cc367dde9214cc4a1f3483ec8e4a2da9187899a25a75d
|