Skip to main content

sharepoint-stuff

A package that adds a range of functionality for working with sharepoint sites from python e.g. uploading and downloading of files, creation of folders, etc. Under constant development and change as of January 2023.

Installation

Run the following to install:

python -m pip install sharepoint-stuff

Usage

from sharepoint_stuff import getCTX, uploadFile

# Initial authentication is necessary for all other functions in this package

ctx = getCTX("SHAREPOINT_URL", "USERNAME", "PASSWORD")

# then you can use that ClientContext (ctx) to authenticate for all the other functions, for example:

# the sharepoint relative url is relative to the name of your site so if you were in the directory -
# https://contoso.sharepoint.com/sites/MAIN_SITE/Shared%20Documents/important_docs then your relative url is "Shared Documents/important_docs/"

# the filepath should include the filename, this is so that the name of the file on sharepoint can be declared seperately to the name of the
# file on the system
uploadFile(ctx, "FILENAME_FOR_SHAREPOINT", "FILEPATH_ON_SYSTEM", "SHAREPOINT_RELATIVE_URL")

Metadata

Release files for sharepoint-stuff 0.0.6

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

Source distribution (sdist)

Source distribution for sharepoint-stuff 0.0.6
File Size Uploaded Provenance
sharepoint-stuff-0.0.6.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sharepoint-stuff 0.0.6
File Interpreter ABI Platform
sharepoint_stuff-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / sharepoint-stuff-0.0.6.tar.gz

Download URL sharepoint-stuff-0.0.6.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
26c25134348d3025c384693fd374aeaae9975b8d32e13b7e1e740185d83ad2c5
BLAKE2b-256 checksum
How to use checksums
4016eca87d9d6cbee709c0c4a957a6ecd9fa5a19c655531f0cf9079c61d1549e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / sharepoint_stuff-0.0.6-py3-none-any.whl

Download URL sharepoint_stuff-0.0.6-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee4bcd5269779e52cd8a5d8099685238b43c5ca744136cf92917bbf62dd3eff4
BLAKE2b-256 checksum
How to use checksums
19347eda5a7ec868a012d1aff6af988cf911073693be0243d51f5f25237cb2d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for sharepoint-stuff 0.0.6

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.

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