Skip to main content

pymstodo ✔️

PyPI Build Status License: GPL v3

Python wrapper to deal with Microsoft To Do.

Installation

pip3 install pymstodo

Requirements

  • python >= 3.10
  • requests_oauthlib >= 1.3.0

Usage

  1. Get an API key before using pymstodo.
  2. Use it to initialize the client. Here is an example:
from pymstodo import ToDoConnection

client_id = 'PLACE YOUR CLIENT ID'
client_secret = 'PLACE YOUR CLIENT SECRET'

auth_url = ToDoConnection.get_auth_url(client_id)
redirect_resp = input(f'Go here and authorize:\n{auth_url}\n\nPaste the full redirect URL below:\n')
token = ToDoConnection.get_token(client_id, client_secret, redirect_resp)  # you have to save it somewhere
print(token)
todo_client = ToDoConnection(client_id=client_id, client_secret=client_secret, token=token)

lists = todo_client.get_lists()
task_list = lists[0]
tasks = todo_client.get_tasks(task_list.list_id)

print(task_list)
print(*tasks, sep='\n')
  1. Full documentation: https://inbalboa.github.io/pymstodo/

  2. API description by Microsoft see at https://docs.microsoft.com/en-us/graph/api/resources/todo-overview

Metadata

Release files for pymstodo 0.2.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 pymstodo 0.2.2
File Size Uploaded Provenance Actions
pymstodo-0.2.2.tar.gz 21.9 kB Without provenance Details for pymstodo-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 43.1 kB

Release files / pymstodo-0.2.2.tar.gz

Download URL pymstodo-0.2.2.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cfca7b0846d7a27068ae97534703d21fe6570e36c9164eb31316251275093a24
BLAKE2b-256 checksum
How to use checksums
389f941dbe5d2ce1de06afb978922b3c12d2369eb4006837862b47130e956dbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / pymstodo-0.2.2-py3-none-any.whl

Download URL pymstodo-0.2.2-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cb89e769840508c6f89c3beb50324ee14d13a37a5a3201e8a752e3de9128bce
BLAKE2b-256 checksum
How to use checksums
d3b4746af98880f361c1d976230a27adc7e6f15c9a00bb7c47269ba89b69d682
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for pymstodo 0.2.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.

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