Installation¶
office365-rest-python-client supports Python 3.10+ and has four runtime
dependencies: requests, msal, pytz and
typing-extensions.
From PyPI¶
With uv¶
Latest from GitHub¶
Unreleased changes are on master — install straight from the repo:
Upgrading¶
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.