Skip to main content

Async Sharepoint

PyPI version PyPI downloads

An async SharePoint client with a native Rust implementation exposed through PyO3.

The repository also contains a standalone Rust crate in core/, published as async-sharepoint, for Rust projects that do not need Python bindings.

Features

  • Async list, item, file, folder, permission, and search operations
  • Native Entra ID certificate authentication with background token refresh
  • Automatic token caching and refresh
  • Retry handling for throttling and transient SharePoint failures
  • Paginated queries and chunked uploads
  • Python 3.10+ stable-ABI Linux wheels

Installation

uv add Async-Sharepoint

Rust

cargo add async-sharepoint
use async_sharepoint::{CertificateCredential, SharePointClient};

let credential = CertificateCredential::load(
    tenant_id,
    client_id,
    "/path/to/azure-app-private.key",
    thumbprint,
)?;
let client = SharePointClient::new(site_url, &credential)?;
let files = client.ls(None).await?;

Usage

from async_sharepoint import CertificateCredential, SharePointClient

credential = CertificateCredential(
    tenant_id=tenant_id,
    client_id=client_id,
    private_key_path="/path/to/azure-app-private.key",
    thumbprint=thumbprint,
)

async with SharePointClient(site_url, credential) as client:
    documents = await client.get_items("Documents")

Documentation

Full documentation is available on GitHub Pages.

Contributing

See CONTRIBUTING.md for development setup, testing, and documentation instructions.

Author

Async Sharepoint was created in 2026 by Dean MacGregor.

Built with Cookiecutter and the audreyfeldroy/cookiecutter-pypackage project template.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

async_sharepoint-0.1.1.tar.gz (176.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

async_sharepoint-0.1.1-cp310-abi3-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

async_sharepoint-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

async_sharepoint-0.1.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (5.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file async_sharepoint-0.1.1.tar.gz.

File metadata

  • Download URL: async_sharepoint-0.1.1.tar.gz
  • Upload date:
  • Size: 176.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for async_sharepoint-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c9b95a9b9391d8731918612108b0c59f2288fc81a36cf8cef6cd1400a8f3cb4a
MD5 a25d2e1c293e86f5e25ad79bf620f340
BLAKE2b-256 9f9b8d9e3bad5a741d25a8b0d1065c2f087b2328ad9eec2f78c1c28bf649da2d

See more details on using hashes here.

File details

Details for the file async_sharepoint-0.1.1-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for async_sharepoint-0.1.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bdcfdd9a0916134f13e5d458462c09cbca032bc9ad74fd212aa47199406d28a8
MD5 f56f237da6b025787f1c98f0e5b91b8a
BLAKE2b-256 404dcb482f658b28590741abb8749af0337c1f05ddeb570a6de593b9d8f03140

See more details on using hashes here.

File details

Details for the file async_sharepoint-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for async_sharepoint-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9daa87afb7406ba9bcdba033339fa7be449e81c7ee9c470a4766629587a29c82
MD5 211232379f2bc5459991bb1d384a9624
BLAKE2b-256 5be035e0bd55807ec0c0930b8736ebb03f146e839e02a03035c6cb872b7ce25b

See more details on using hashes here.

File details

Details for the file async_sharepoint-0.1.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for async_sharepoint-0.1.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 d932872e8b35841af5adaf132db66c7ab90ba5e7d4fddcf200af72b26d852e62
MD5 e0e0413427a49def57d9f412a7e76d25
BLAKE2b-256 a0adacee50324f278be35dcaec92ad95bcf2540075d2369cb1f29d4f17201d71

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.4

4 files

0.1.3

4 files

0.1.2

4 files

This release

0.1.1 This release

4 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page