Skip to main content

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

  1. Create a new .env file from .env.example
  2. Create a new Active Directory app registration and get Client/Application ID from the Overview Page.
  3. 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.
  4. 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.
  5. 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

File details

Details for the file sharepoint-online-python-jamesgrogantech-0.0.6.tar.gz.

File metadata

  • Download URL: sharepoint-online-python-jamesgrogantech-0.0.6.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for sharepoint-online-python-jamesgrogantech-0.0.6.tar.gz
Algorithm Hash digest
SHA256 ab2f078ea11179382c9cb2246d543df9fac0b785389aaa3f66a1775c433c264d
MD5 fceb240aa23b915a02eeef413c20f111
BLAKE2b-256 f2a018a57959e416578242130bcf4e3ea7c0a8b77adde1680a75850afe3fc856

See more details on using hashes here.

File details

Details for the file sharepoint_online_python_jamesgrogantech-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for sharepoint_online_python_jamesgrogantech-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 27f6006f2230e5c27becae7a52c2794e1a06a4f604135adf2b273307f587f476
MD5 958b71f1c8eec7113d54d597fb933237
BLAKE2b-256 e98c3453eb2d710863f7afedcd36235c2f591f5b9215859316e8f13c2492e291

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page