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.2.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.2-cp310-abi3-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

async_sharepoint-0.1.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: async_sharepoint-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ff5f8b7bffcc872dc08b24b6fd664e4c2747c7f5b6d01e1162eaaab6e3e8c166
MD5 802f15b2d11dab0d70adf3f68f34ce45
BLAKE2b-256 ac87a2360b061cf9f27857b4da74b2867b5870b7abf206d73ad5b662e0a3a6ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_sharepoint-0.1.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 26893a85cb33d0fee528c8ee93e5ea1766066a885ce2a825a0e0e68026628310
MD5 06d5a0830ba7e2804c5da78f7cd7ae8d
BLAKE2b-256 c6c9af2e0c077a66c8a61dfb254ba732dc98a1e0fd14a0dd7656fe0c6b51b305

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_sharepoint-0.1.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a2852e8067c73accb527f3c062328f8fb5b5869f97b76cf9878a4a4636aec09
MD5 3fcfb89bcff1080c4b237269a58b5416
BLAKE2b-256 8a4ea49faf6894884dfd1fe5c382d2e33cd0a816f7ffc89ebbb618002b36a6a3

See more details on using hashes here.

File details

Details for the file async_sharepoint-0.1.2-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.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 308985d3280d79c817f044592591295bffd0f5ff9511b7954f76f5257af8a16b
MD5 63d9cefc8eab59659fe11232d77e722a
BLAKE2b-256 02e0e9348a16b0603ff57e1c22c38a56f485724f195e5a75f2e0950f711b5c58

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.4

4 files

0.1.3

4 files

This release

0.1.2 This release

4 files

0.1.1

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