Skip to main content

LRZ Sync+Share library for uploads and other file management

Project description

This little library makes it easy to upload and manage files on 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

lrz_sync_share-0.1.0-py2.py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page