Skip to content

Installation

office365-rest-python-client supports Python 3.10+ and has four runtime dependencies: requests, msal, pytz and typing-extensions.

From PyPI

pip install office365-rest-python-client

With uv

uv pip install office365-rest-python-client

Latest from GitHub

Unreleased changes are on master — install straight from the repo:

pip install git+https://github.com/vgrem/office365-rest-python-client.git

Upgrading

pip install --upgrade office365-rest-python-client

Optional extras

Features that need a third-party package are extras:

pip install "office365-rest-python-client[httpx]"     # native-async HTTP transport
pip install "office365-rest-python-client[pandas]"    # DataFrames
pip install "office365-rest-python-client[excel]"     # Excel
pip install "office365-rest-python-client[parquet]"   # Parquet
pip install "office365-rest-python-client[sql]"       # SQLAlchemy
pip install "office365-rest-python-client[duckdb]"    # DuckDB

Once installed, head to Getting Started to pick your client and make your first call.