Skip to content
/ pysharepoint Public template

PySharepoint is a Python library that provides an interface to interact with Microsoft Sharepoint

License

Notifications You must be signed in to change notification settings

dexterai-lab/pysharepoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySharepoint

PySharepoint is a Python library that provides an interface to interact with Microsoft Sharepoint.

Installation

Use the package manager pip to install foobar.

pip install pysharepoint

Usage

import pysharepoint as ps

sharepoint_base_url = 'https://<abc>.sharepoint.com/'
username = 'username'
password = 'password'

site = ps.SPInterface(sharepoint_base_url,username,password)

source_path = 'Shared Documents/Shared/<Location>'
sink_path = '/full_sink_path/'
filename = 'filename.ext'
sharepoint_site = 'https://<abc>.sharepoint.com/sites/<site_name>

site.download_file_sharepoint(source_path, sink_path,filename,sharepoint_site)
site.upload_file_sharepoint(source_path, sink_path,filename,sharepoint_site)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU General Public License v3.0

About

PySharepoint is a Python library that provides an interface to interact with Microsoft Sharepoint

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages