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_hostmust be host only, for exampleexample.sharepoint.comsite_pathmust be site path only, for example/sites/MySite- token acquisition stays with caller
- filesystem is currently read-only
write,write_iterator,makedirs, anddeleteare not implemented yet
Notes
The adapter uses Microsoft Graph to resolve the site and default document library drive.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plugfs_sharepoint-0.1.1.tar.gz | 3.7 kB | Without provenance | Details for plugfs_sharepoint-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plugfs_sharepoint-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for plugfs_sharepoint-0.1.1-py3-none-any.whl |
Total release size: 8.1 kB
Security for plugfs-sharepoint 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.