Skip to main content

Unofficial Microsoft To-Do python library

Project description

Description

Pymtodo is an unofficial Microsoft To-Do python library which allows managing your tasks. It can help you to optimize your workflow and create long lists (for example, if you read books and like to check it in your To-Do list).

Installing

You can install pymtodo via pip:

$ git clone https://github.com/efiminem/pymtodo.git
$ pip install pymtodo

Quick start

Authorizing

Pymtodo is very easy to use. First, you need to be authorized in the Microsoft To-Do system:

from pymtodo import ToDoConnection
from getpass import getpass

a = ToDoConnection()
a.connect(email = 'your-email@gmail.com', password = getpass())

Getpass package allows you to write your password in the secure way, so noone will see it. Alternatively, you can just type it directly.

Get lists and tasks

In order to get all your lists you can just type:

a.lists

To get the tasks for the particular list, you can write:

a.lists[0].tasks

Create lists and tasks

You can create lists by using

a.create_list("New list")

and new tasks can be created in the particluar list:

a.lists[0].create_task("New task")

Delete lists and tasks

You can delete your lists and tasks by the delete method:

a.lists[0].delete()
a.lists[0].tasks[0].delete()

Be careful, there will not be a warning message.

Documentation

Detailed documentation will be available soon.

Disclaimer

Pymtodo is an unofficial, open source, third-party, free app and is not affiliated in any way with Microsoft.

License

Pymtodo is distributed under the MIT license.

Project details


Release history Release notifications

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pymtodo, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pymtodo-0.2-py3-none-any.whl (6.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pymtodo-0.2.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page