GithubHelp home page GithubHelp logo

almemanuel / sharepoint-crud Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 31 KB

Simple SharePoint CRUD via Python

Home Page: https://pypi.org/project/sharepoint-crud/

License: MIT License

Python 100.00%
crud integration sharepoint

sharepoint-crud's Introduction

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',
  '[email protected]',
  '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',
  '[email protected]',
  '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

sharepoint-crud's People

Contributors

almemanuel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.