This little library makes it easy to upload and manage files on LRZ Sync+Share.
Install:
pip install lrz-sync-share
Usage:
from lrz_sync_share import lrz_session lrz = lrz_session("username", "password", "ldap") lrz.login() lrz.upload("share", "a.txt") url = lrz.get_link("share", "a.txt")
For the third parameter for lrz_session(user, password, shibboleth)
use the following shibboleths:
- Editing filenames
- Deleting files
- Creating directories
- Creating root folders
etc., basically full web functionality