A python module to interact with EMC Syncplicity
Project description
## Synopsis
The pySyncplicity module implements a limited subset of the JSON Syncplicity interface, enabling developers to list files and folders, and to upload and download files
## Code Example
client = pySyncplicity.SyncplicityClient(username=auth.username, password=auth.password,verify=False)
client.connect()
syncpoints = client.list_sync_points()
all_folders = []
for syncpoint in syncpoints:
all_folders.append(client.get_folder(syncpoint.Id, syncpoint.RootFolderId))
for folder in all_folders:
for file in folder.files:
client.download_file(file, debug=False)
response = client.upload_file('auth.pyc', folderID, debug=False)
## Motivation
Simply to enable python applications to enage with the Syncplicity system.
## Installation
A simple 'pip install' should suffice. The project requires 'requests' and 'requests-toolbelt'.
## Contributors
Happy to accept pull requests on GitHub. Matt can be reached via twitter as @mcowger
## License
MIT Licensed
The pySyncplicity module implements a limited subset of the JSON Syncplicity interface, enabling developers to list files and folders, and to upload and download files
## Code Example
client = pySyncplicity.SyncplicityClient(username=auth.username, password=auth.password,verify=False)
client.connect()
syncpoints = client.list_sync_points()
all_folders = []
for syncpoint in syncpoints:
all_folders.append(client.get_folder(syncpoint.Id, syncpoint.RootFolderId))
for folder in all_folders:
for file in folder.files:
client.download_file(file, debug=False)
response = client.upload_file('auth.pyc', folderID, debug=False)
## Motivation
Simply to enable python applications to enage with the Syncplicity system.
## Installation
A simple 'pip install' should suffice. The project requires 'requests' and 'requests-toolbelt'.
## Contributors
Happy to accept pull requests on GitHub. Matt can be reached via twitter as @mcowger
## License
MIT Licensed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pySyncplicity-0.0.1.tar.gz
(4.7 kB
view hashes)