Skip to main content

plugfs-sharepoint

SharePoint adapter for plugfs.

Install

uv add plugfs-sharepoint

or:

pip install plugfs-sharepoint

What it does

This package provides a SharePoint adapter for plugfs using Microsoft Graph.

Current status

The filesystem is currently read-only.

Support for write, write_iterator, makedirs, and delete is not implemented yet and will be added when needed.

Usage

from plugfs.filesystem import Filesystem
from plugfs_sharepoint import SharepointAdapter


class TokenFactory:
    async def __call__(self) -> str:
        return "access-token"


async def build_filesystem() -> Filesystem:
    adapter = await SharepointAdapter.create(
        TokenFactory(),
        "example.sharepoint.com",
        "/sites/MySite",
    )
    return Filesystem(adapter)

Quick smoke test:

async def smoke_test(filesystem: Filesystem) -> None:
    items = await filesystem.list("/")
    for item in items:
        print(item.path)

Contract

  • site_host must be host only, for example example.sharepoint.com
  • site_path must be site path only, for example /sites/MySite
  • token acquisition stays with caller
  • filesystem is currently read-only
  • write, write_iterator, makedirs, and delete are not implemented yet

Notes

The adapter uses Microsoft Graph to resolve the site and default document library drive.

Release files for plugfs-sharepoint 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plugfs-sharepoint 0.1.0
File Size Uploaded
plugfs_sharepoint-0.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plugfs-sharepoint 0.1.0
File Interpreter ABI Platform
plugfs_sharepoint-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / plugfs_sharepoint-0.1.0.tar.gz

Download URL plugfs_sharepoint-0.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
80892eb22bea973f23ca69530ee03b9a099a7605cfbf059dfd068828efe6f721
BLAKE2b-256 checksum
How to use checksums
a94b419c9946df2ef54ea1556daffadbeaa6ca3b8bbbc6401b6435d7c2b0d78d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / plugfs_sharepoint-0.1.0-py3-none-any.whl

Download URL plugfs_sharepoint-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce5be01652c1b7b35577fa39e17d2bcf5b7396126a571d0a8c437cc44209ab4f
BLAKE2b-256 checksum
How to use checksums
1369d1e5eb11f1f84b955332d46ebac1ab20074b33ab2c0004272f3ca12cd1cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

2 release 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