# vgrem/office365-rest-python-client

Microsoft 365 & Microsoft Graph Library for Python

Repository: https://github.com/vgrem/office365-rest-python-client
Canonical: https://ross.abutalabs.com/products/office365-rest-python-client
Language: Python
License: MIT
License Family: permissive
Topics: office365, sdk-python, sharepoint, outlook, microsoft-graph, onedrive, microsoft-teams, teams, onenote, planner, microsoft365, python, hacktoberfest
Last push: 2026-08-25T17:44:08+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 72, longevity 100
- inputs: {"age_days": 3859, "days_push": 8, "days_rel": 31, "gap_med": 95.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1720, forks 370 (observed 2026-08-28T04:05:26.720250+00:00)

## What it is
A Python client library for Microsoft 365 and Microsoft Graph APIs, providing typed access to SharePoint REST API v1 via ClientContext and Microsoft Graph services (Outlook, OneDrive, Teams, OneNote, Planner) via GraphClient. It supports modern Azure AD authentication flows and requires Python 3.8+.

## Use cases
- manage SharePoint lists and files from Python
- upload and download files from OneDrive programmatically
- send emails and read calendar via Outlook API in Python
- automate Microsoft Teams operations
- authenticate to Microsoft Graph with Azure AD from a Python script
- administer SharePoint site permissions and search
- work with OneNote and Planner data via API

## When to choose
- you need Python access to SharePoint, OneDrive, Outlook, Teams, or other Microsoft 365 services
- you want a single library covering both SharePoint REST and Microsoft Graph
- you need modern Azure AD auth flows in Python

## When to avoid
- you work with Google Workspace or other non-Microsoft cloud suites
- you need a language other than Python
- you only need raw HTTP calls and prefer calling Microsoft Graph directly

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, auth
- domain: apis, developer-tools, cloud-computing
- platform: python, cross-platform
- tags: microsoft-365, microsoft-graph, sharepoint, onedrive, outlook, microsoft-teams, onenote, planner, azure-ad, rest-client

## Member repositories
- vgrem/office365-rest-python-client (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:26.720250+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:34:05.976629+00:00, confidence not recorded.
  - readme: https://github.com/vgrem/office365-rest-python-client (fetched 2026-08-28T04:05:26.720250+00:00, sha 64520ed19dd2)
  - registry_pypi: https://pypi.org/pypi/office365-rest-python-client/json (fetched 2026-08-29T11:09:54.402333+00:00, sha 9af0960416ad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
