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

Uploaded CPython 3.10+Windows x86-64

async_sharepoint-0.1.4-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.4-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.4.tar.gz.

File metadata

  • Download URL: async_sharepoint-0.1.4.tar.gz
  • Upload date:
  • Size: 164.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.4.tar.gz
Algorithm Hash digest
SHA256 53aef355903f7d90535fc38833b3d9d54d3d88cb8975497dd88279502eb3ad86
MD5 858e3975b67d0d35abe99eceb20f1864
BLAKE2b-256 ce1c0cc391787bf690b59ada94b4a982375b69131179378d687ca53f007b08ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_sharepoint-0.1.4-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9af7b173d42f5baeb973ccdb6e36e3d8abcbe0f6b00d4834a0da4b7a9ade6018
MD5 d795907ed04328b6d3c33b0593ec82f9
BLAKE2b-256 7cd2982f5b116c2b53e930184b82d2e5cd16e4a39d06e89931a4a5d9dfa659c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_sharepoint-0.1.4-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e60e6250ff9e4f7a7c1cf0bc20278274889305ca6ad5fd61d77d7837a1a42e96
MD5 f561fee1b86db13d1a409b0b26385dbe
BLAKE2b-256 864e52f22732905f35626b88a8c878f217c50bcc01541e5188278e8ab0ae71ac

See more details on using hashes here.

File details

Details for the file async_sharepoint-0.1.4-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.4-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 35ff3202bbca455ccff0222ae1d69468f9302d8493f58d951e3e7c51073c12fb
MD5 2289d4a962c8210c886791cb22b1879a
BLAKE2b-256 84eaf4e717f19413eace4538dabfc582d2d1d01e9d459778718858ec448616d3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

4 files

0.1.3

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