Skip to main content

AI/Human task management system with file-based storage

Project description

Todozi Python Library

Todozi is an AI-human collaborative task management system that combines the power of artificial intelligence with human intuition to help you organize, prioritize, and accomplish tasks more effectively.

This Python library provides bindings to the high-performance Rust implementation of Todozi, offering a professional Python interface to all core functionality.

🚀 Key Features

  • AI-Powered Task Management: Intelligent task creation, prioritization, and organization
  • Semantic Search: Find tasks using natural language and contextual understanding
  • Project Organization: Group related tasks into logical project structures
  • Memory & Idea Capture: Record important insights and creative thoughts
  • Collaborative Workflow: Support for both human and AI task execution
  • High Performance: Built on Rust for speed and reliability

📦 Installation

pip install todozi

Or for development installation:

pip install -e .

🛠️ Quick Start

from todozi import TodoziClient

# Initialize the Todozi client
tdz = TodoziClient()

# Create tasks with different priority levels
task_id = tdz.task("Review the quarterly budget report")
urgent_id = tdz.urgent("Fix critical security vulnerability")
high_id = tdz.high("Prepare presentation for board meeting")
low_id = tdz.low("Update README documentation")

# Find tasks using keywords
api_tasks = tdz.find("API")
print(f"Found {len(api_tasks)} tasks containing 'API'")

# Start and complete tasks
tdz.start(task_id)
tdz.done(task_id)

# List all tasks
all_tasks = tdz.all()
for task in all_tasks:
    print(f"{task.action} - Status: {task.status}")

📚 Core Functionality

Task Management

Create tasks with different priority levels:

# Basic task creation
task_id = tdz.task("Write unit tests")

# Priority-specific task creation
urgent_task = tdz.urgent("Fix critical bug")
high_task = tdz.high("Implement new feature")
low_task = tdz.low("Update documentation")

Manage task lifecycle:

# Start working on a task
tdz.start(task_id)

# Mark task as completed
tdz.done(task_id)

# Find tasks by keyword
matching_tasks = tdz.find("bug")

# Get all tasks
all_tasks = tdz.all()

Project Management

Organize tasks into projects:

# Create a project
project_id = tdz.create_project("Mobile App", "Building the next-gen mobile app")

# Set current project context
tdz.set_project("Mobile App")

# Create tasks within the current project
task_id = tdz.task("Design user authentication flow")

# Get tasks for a specific project
project_tasks = tdz.project_tasks("Mobile App")

# List all projects
projects = tdz.list_projects()

Memory & Idea Capture

Record important information:

# Capture memories (learning experiences)
memory_id = tdz.remember(
    "First time deploying to production",
    "Learned that environment variables must be set before app startup"
)

# Create structured memories
memory_id = tdz.create_memory(
    "Code review feedback",
    "Always check for null pointer exceptions",
    "Improves code reliability"
)

# Capture ideas
idea_id = tdz.idea("Implement dark mode toggle")

# Create structured ideas
idea_id = tdz.create_idea("Create a mobile app companion")

# List memories and ideas
memories = tdz.list_memories()
ideas = tdz.list_ideas()

Advanced Search

Find information using various search methods:

# Keyword search
tasks = tdz.find("authentication")

# AI-powered semantic search
similar_tasks = tdz.ai_find("login related issues")

# Get all tasks
all_tasks = tdz.all()

AI Integration

Leverage AI capabilities:

# Chat with Todozi AI
response = tdz.chat("Help me organize my tasks by priority")

# AI-powered task breakdown
complex_task = tdz.task("Build complete e-commerce platform")
# AI would help break this down into subtasks

🏗️ Data Classes

The library provides Python classes for working with Todozi data:

  • Task: Task information (id, action, priority, status, etc.)
  • Memory: Memory information (id, moment, meaning, importance, etc.)
  • Idea: Idea information (id, content, importance, etc.)
  • Project: Project information (name, description, status, etc.)

📖 Examples

Check the examples/ directory for comprehensive usage examples:

  1. 01_basic_task_creation.py - Creating tasks with different priorities
  2. 02_ai_assignments.py - Working with AI-assigned tasks
  3. 03_task_management.py - Finding, starting, and completing tasks
  4. 04_projects.py - Project organization and management
  5. 05_memories_and_ideas.py - Capturing memories and ideas
  6. 06_search_functionality.py - Using search features
  7. 07_statistics.py - Getting system statistics
  8. 08_task_lifecycle.py - Complete task workflow
  9. 09_batch_operations.py - Working with multiple tasks
  10. 10_advanced_features.py - Advanced capabilities
  11. 11_error_handling.py - Error management
  12. 12_dev_team_workflow.py - Team collaboration patterns

⚙️ Requirements

  • Python 3.7+
  • Rust toolchain (for building from source)

🧪 Running Examples

cd examples
python 01_basic_task_creation.py

📄 License

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

🤝 Contributing

Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines.

🆘 Support

For issues, questions, or feedback, please open a GitHub issue or contact the maintainers.

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

todozi-0.1.2.tar.gz (11.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

todozi-0.1.2-cp38-abi3-manylinux_2_39_x86_64.whl (19.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.39+ x86-64

File details

Details for the file todozi-0.1.2.tar.gz.

File metadata

  • Download URL: todozi-0.1.2.tar.gz
  • Upload date:
  • Size: 11.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for todozi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 aeabb7888c5c8e77f3a24ef763e3eb31b7b79bf8f8f7f231e53875c6a741996d
MD5 2f139f584f7923fb43f356c32b1d2f21
BLAKE2b-256 5626f02b48ecd1020ea3b95159b7ad36b867f8bdfdd2f2c251e8dde1738ea9c8

See more details on using hashes here.

File details

Details for the file todozi-0.1.2-cp38-abi3-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for todozi-0.1.2-cp38-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 1388f08dd1b5cdb996f81f02f30d1d9ff1b26daf97c6903b79e0bee9526c140f
MD5 4ddd3b6d9b22715d485ecf058e67d3b8
BLAKE2b-256 cc14c673ea307e21aa2ee6a9449a2666c63651ca9934ff0bb22471a190971077

See more details on using hashes here.

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