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
## or
pip install Async-Sharepoint

Rust

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

let credential = CertificateCredential::load(
    tenant_id,
    client_id,
    "/path/to/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/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.

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.3.tar.gz (177.7 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.3-cp310-abi3-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

async_sharepoint-0.1.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: async_sharepoint-0.1.3.tar.gz
  • Upload date:
  • Size: 177.7 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.3.tar.gz
Algorithm Hash digest
SHA256 5f00413942f2509d1cc9f5745a6b96c3bf22e66fa7095a42de5cb4459f21c459
MD5 ad24b0e6bef99ef6256485ad2c6e8571
BLAKE2b-256 cd55692900690690022235ca1a90aab0d3320a69eeb1d224757e76c78c26fbb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_sharepoint-0.1.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7327c225b06014c874b20f7eb998c3e58b36b765a53df90ffcf14cfa6fc97151
MD5 1deaf7c3486371685675bfb355d55990
BLAKE2b-256 1ebae8f0f2c785c1e53ba4c7207578716fd631b94c8b8deb0cf567369f593b06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_sharepoint-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 063a646601ec0769de91cacf6a91c0c76f3fe12225d9283b5b392e3955131b8e
MD5 cebf619f57b8afb2095540cab49b0ee2
BLAKE2b-256 cd3679cae261dac10c299c956ab865a5525677ce61c431ee61af4518c3152ce4

See more details on using hashes here.

File details

Details for the file async_sharepoint-0.1.3-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.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 d95ea28a27190e37d815bc50b58cf616a6ce2cab7960f952a7b0b9f1566b4089
MD5 2d64177df92a18e7f4f8cfc31bbf4fa7
BLAKE2b-256 b75a34a996040a34975e3d56a99dd854fe6308a85be28baebc52fc30127a3c6b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.4

4 files

This release

0.1.3 This release

4 files

0.1.2

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