A Python client for performing SharePoint actions via Microsoft Graph API.
Project description
spgraph-client
A Python client for performing SharePoint actions via Microsoft Graph API like download files, SharePoint List or upload files.
Installation
pip install spgraph-client
Usage
from spgraph_client import SharePointClient
client = SharePointClient(
tenant_id="YOUR_TENANT_ID",
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
site_domain="example.sharepoint.com",
site_name="MySite"
)
client.create_folder("Reports")
client.upload_file("Reports", "local_report.pdf")
client.get_file("Reports", "local_report.pdf")
client.get_all_files("Reports", "local_report.pdf")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spgraph_client-0.1.0.tar.gz
(3.5 kB
view details)
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
File details
Details for the file spgraph_client-0.1.0.tar.gz.
File metadata
- Download URL: spgraph_client-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5261e5f4bbdf49fa2529554ad3159ee05b172b6e2af8f08d562427df849d0717
|
|
| MD5 |
6d79855cbeb85d6dd7f20bd090a913fd
|
|
| BLAKE2b-256 |
9555b98221d5861ce05d19e07d7fe2691d20d18634992941cb2ca855eaa36b7c
|
File details
Details for the file spgraph_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spgraph_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
169c1f8616d870de34d2bc11d612666be3887979a0836d4dc79a04aa84bc53f4
|
|
| MD5 |
7abdc9a66a9e7f0275b2fb17e97ffd09
|
|
| BLAKE2b-256 |
9844c996191602625e0e72c95f24245a640b5cfccca5c87c532377aed70df6ca
|