Welcome to pyOutlook’s documentation!¶
About:¶
pyOutlook was created after I found myself attempting to connect to the Outlook REST API in multiple projects. This provided some much needed uniformity. It’s easier to deal with than the win32com package by Microsoft, but obviously has a far smaller scope.
Python Versions¶
pyOutlook targets Python 3.10 and higher.
Recommended:¶
pyOutlook does not handle OAuth for the access tokens provided by Outlook. These are provided by you via the OutlookAccount class as a string. There are various OAuth packages out there: (pip install) oauth2, python-oauth2, requests_oauthlib, etc that can facilitate the process.
You can easily get an access token for your account by using the [Microsoft Graph Explorer](https://developer.microsoft.com/en-us/graph/graph-explorer).
Notes:¶
All protected & private methods and anything under pyOutlook.internal is subject to change without deprecation warnings