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.1

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.1
File Size Uploaded
plugfs_sharepoint-0.1.1.tar.gz 3.7 kB Details

Built distribution (wheel)

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

Total release size: 8.1 kB

Release files / plugfs_sharepoint-0.1.1.tar.gz

Download URL plugfs_sharepoint-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
be8d3028db95475d750f32f147cf5261db48f1da75b9d2e176541cb781e33c29
BLAKE2b-256 checksum
How to use checksums
03c627c12e73ed67e63f7b74765024baa667e762005661a7b96ff3b326e74570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.16 {"installer":{"name":"uv","version":"0.12.16","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.1-py3-none-any.whl

Download URL plugfs_sharepoint-0.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b55a4f6058b95b5790816b0204dc076b0cbe76433a4e1564144ed081879f9715
BLAKE2b-256 checksum
How to use checksums
ad880dfe95d78c763f44d72cd8c3853ffceeda9845fe917697d27365ba6e4368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.16 {"installer":{"name":"uv","version":"0.12.16","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

This release

0.1.1 This release

2 release files

0.1.0

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