CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-o365

O365 - Microsoft Graph and Office 365 API made easy

Pending

Quality

Pending

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

Overview
Eval results
Files

tasks.mddocs/

Tasks and Planning

Microsoft To-Do and Planner integration for task management, project planning, bucket organization, and progress tracking.

Capabilities

Tasks (Microsoft To-Do)

def tasks(self, resource: str = None) -> ToDo:
    """Get a ToDo instance for Microsoft To-Do operations."""

class ToDo:
    def get_lists(self) -> list[TaskList]:
        """Get task lists."""
    
    def new_list(self, list_name: str) -> TaskList:
        """Create a new task list."""

class TaskList:
    @property
    def display_name(self) -> str:
        """List display name."""
    
    def get_tasks(self) -> list[Task]:
        """Get tasks in this list."""
    
    def new_task(self, subject: str) -> Task:
        """Create a new task."""

class Task:
    @property
    def subject(self) -> str:
        """Task subject."""
    
    @property
    def completed(self) -> bool:
        """Whether task is completed."""
    
    def complete(self) -> bool:
        """Mark task as completed."""

Planner

def planner(self, resource: str = None) -> Planner:
    """Get a Planner instance for Microsoft Planner operations."""

class Planner:
    def get_plans(self) -> list[Plan]:
        """Get accessible plans."""

class Plan:
    @property
    def title(self) -> str:
        """Plan title."""
    
    def get_tasks(self) -> list[PlannerTask]:
        """Get plan tasks."""
    
    def get_buckets(self) -> list[Bucket]:
        """Get plan buckets."""

Usage Examples

account = Account(credentials)

# Work with To-Do tasks
todo = account.tasks()
task_lists = todo.get_lists()

for task_list in task_lists:
    tasks = task_list.get_tasks()
    print(f"List '{task_list.display_name}': {len(tasks)} tasks")

# Work with Planner
planner = account.planner()
plans = planner.get_plans()

for plan in plans:
    print(f"Plan: {plan.title}")

Install with Tessl CLI

npx tessl i tessl/pypi-o365

docs

authentication.md

calendar.md

contacts.md

directory.md

email.md

excel.md

index.md

sharepoint.md

storage.md

tasks.md

teams.md

tile.json