https://github.com/instance01/lrz-sync-share-lib
LRZ Sync+Share library for uploads and other file management
https://github.com/instance01/lrz-sync-share-lib
Last synced: 27 days ago
JSON representation
LRZ Sync+Share library for uploads and other file management
- Host: GitHub
- URL: https://github.com/instance01/lrz-sync-share-lib
- Owner: instance01
- License: mit
- Created: 2018-03-31T16:14:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-31T17:16:58.000Z (almost 8 years ago)
- Last Synced: 2025-02-20T04:04:10.413Z (11 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
LRZ Sync+Share Library
----------------------
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")
Shibboleths
===========
For the third parameter for ``lrz_session(user, password, shibboleth)`` use the following shibboleths:
============================================== ===============================================================
Establishment Shibboleth
============================================== ===============================================================
Gastkennungen/Guests/Extern ldap
Akademie der Bildenden Künste ldap
Akademie für Politische Bildung ldap
BAdW LRZ WMI ldap
Hochschule München ldap
Hochschule Weihenstephan-Triesdorf ldap
LMU München ldap
TU München ldap
Hochschule Kempten https://syncandshare.lrz.de/Shibboleth.sso/Login?SAMLDS=1&target=https%3A//syncandshare.lrz.de/login/shibboleth&entityID=https%3A//idp.hs-kempten.de/idp/shibboleth
Hochschule Neu-Ulm https://syncandshare.lrz.de/Shibboleth.sso/Login?SAMLDS=1&target=https%3A//syncandshare.lrz.de/login/shibboleth&entityID=https%3A//sso.hs-neu-ulm.de/idp/shibboleth
Hochschule Rosenheim https://syncandshare.lrz.de/Shibboleth.sso/Login?SAMLDS=1&target=https%3A//syncandshare.lrz.de/login/shibboleth&entityID=https%3A//idp.fh-rosenheim.de/idp/shibboleth
Ostbayerische Technische Hochschule Regensburg https://syncandshare.lrz.de/Shibboleth.sso/Login?SAMLDS=1&target=https%3A//syncandshare.lrz.de/login/shibboleth&entityID=https%3A//sso.hs-regensburg.de/idp/shibboleth
Universität Passau https://syncandshare.lrz.de/Shibboleth.sso/Login?SAMLDS=1&target=https%3A//syncandshare.lrz.de/login/shibboleth&entityID=https%3A//sso.uni-passau.de/idp/shibboleth
============================================== ===============================================================
TODO
====
* Editing filenames
* Deleting files
* Creating directories
* Creating root folders
etc., basically full web functionality