Skip to main content

sharepoint-crud

GitHub repo size GitHub language count GitHub forks Bitbucket open issues Bitbucket open pull requests

Solution to integrate SharePoint with your Python script

Improvement

This project is under development, so if you have any suggestions, please let me know:

  • Get file content
  • Search for a file
  • Upload file
  • Edit file
  • Delete a file

💻 Requeriments

Before you begin, ensure you have met the following requirements:

  • you have installed a python 3.8 or higher

🚀 Install sharepoint-crud

  • run the command: pip install sharepoint-crud to activate the virtual environment
  • voilà!

☕ Run

To run sharepoint-crud, you need a sharepoint account. You can instanciate an object with the following parameters:

from sharepoint_crud import SharePointCrud

sharepoint = SharePointCrud(
  'https://your-site.sharepoint.com/sites/your-library',
  'your-email@your-domain.com',
  'your-password'
)

Actually, is possible download and upload file. An example:

file_content = sharepoint.get_file('your/folder/to/your/file', 'your-file.file_format')

An example: I have a file example.csv in the folder my_library/Shared Files/my_folder on SharePoint:

from sharepoint_crud import SharePointCrud

file_content = SharePointCrud(
  'https://your-site.sharepoint.com/sites/your-library',
  'your-email@your-domain.com',
  'your-password'
).get_file('my_library/Shared Files/my_folder', 'example.csv')

📫 Contributing

To contribute to sharepoint-crud, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and confirm them: git commit -m '<commit_message>'
  4. Send to the original branch: git push origin <project_name> <location>
  5. Create the pull request.

Alternatively, consult the GitHub documentation on creating a pull request.

🤝 Colaborators

Emanuel's profile photo
Emanuel Almeida

📝 Licença

This project is under license. See the file LICENÇA for more details.

⬆ Turn to top

Metadata

Release files for sharepoint-crud 2.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 sharepoint-crud 2.0
File Size Uploaded Provenance Actions
sharepoint-crud-2.0.tar.gz 4.2 kB Without provenance Details for sharepoint-crud-2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sharepoint-crud 2.0
File Interpreter ABI Platform Actions
sharepoint_crud-2.0-py3-none-any.whl Python 3 none any Details for sharepoint_crud-2.0-py3-none-any.whl

Total release size: 8.8 kB

Release files / sharepoint-crud-2.0.tar.gz

Download URL sharepoint-crud-2.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
34d07c321054f92e55dc52cc9019ef5d1604d1dfd79bdb7f1d581a7b45367b30
BLAKE2b-256 checksum
How to use checksums
891bdb625f2428829ed0e9ade269b8cce83428c1e468146b59d1840aeab1a761
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.10

Release files / sharepoint_crud-2.0-py3-none-any.whl

Download URL sharepoint_crud-2.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
557da72ad22aa3cb1f1d549468fe5e643504cbe2d0df96533db34e8eedaaa1de
BLAKE2b-256 checksum
How to use checksums
674ba8ea44117ccb74459e72ea3e37b2087d0d50e2e869d0196cf2379184ee4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.10

Security for sharepoint-crud 2.0

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