Allows users to access Sharepoint data within a locally running Python script.
Project description
sharepoint-online-python
Currently Under Development
Allows users to access Sharepoint data within a locally running Python script. Supports Microsoft Active Directory SSO for SharePoint Online.
Will open a new browser window -> allow the user to login -> then produce an access token for the local Python script to authenticate for SharePoint.
Setup
- Create a new .env file from .env.example
- Create a new Active Directory app registration and get Client/Application ID from the Overview Page.
- Get Auth and Token endpoints by clicking the "Endpoints" button on the top bar of the Overview Page. Use the "OAuth 2.0 authorization endpoint (v2)" and "OAuth 2.0 token endpoint (v2)" urls.
- Click API Permissions -> add a permission -> Microsoft Graph -> Delegated Permissions -> Sites and select Sites.Read.All then click Add Permissions. You may need to get these permissions approved by the tenant administrator.
- Click Authentication -> add a platform -> Mobile and desktop applications -> and enter: http://localhost:3000
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters