Skip to main content

PySciebo

PySciebo is a Python client library for interfacing with sciebo, the official "Hochschulcloud NRW".

The library is not endorsed officially and should be used accordingly.

Table of Contents

1. Installation

PySciebo is available on PyPI and can be installed using pip:

pip install pysciebo

2. Usage

2.1. As a Command-Line Interface

The PySciebo command-line interface is automatically installed when installing the package via pip. Authentication works either via command-line arguments or by setting the following environment variables:

  • SCIEBO_URL
  • SCIEBO_USERNAME
  • SCIEBO_PASSWORD
# example using CLI arguments
pysciebo upload --url $URL --username $USERNAME --password $PASSWORD /remote/file/path /local/file/path

# example using environment variables
pysciebo upload /remote/file/path /local/file/path

2.2. As a Library

Using your university's sciebo URL, your username, and your password, the client works like this:

import os
from pysciebo import ScieboClient

url = os.environ["SCIEBO_URL"]
username = os.environ["SCIEBO_USERNAME"]
password = os.environ["SCIEBO_PASSWORD"]

# Login
client = ScieboClient(url, username, password)

# Upload a file to sciebo
client.upload("/sciebo/file/path", "/local/file/path")

# Download a file from sciebo (local path is optional)
client.download("/sciebo/file/path", "/local/file/path")

# Delete a file from sciebo
client.delete("/sciebo/file/path")

3. Development

The project uses pre-commit hooks using pre-commit. Follow the installation instructions to set them up properly.

New functionality should at least be covered by integration tests. The rest is optional but recommended.

4. Todo

  • Implement command-line interface
  • Extend feature list

Metadata

Release files for pysciebo 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysciebo 1.1.0
File Size Uploaded Provenance Actions
pysciebo-1.1.0.tar.gz 4.0 kB Without provenance Details for pysciebo-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysciebo 1.1.0
File Interpreter ABI Platform Actions
pysciebo-1.1.0-py3-none-any.whl Python 3 none any Details for pysciebo-1.1.0-py3-none-any.whl

Total release size: 8.3 kB

Release files / pysciebo-1.1.0.tar.gz

Download URL pysciebo-1.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2d4ae7f42fe928501dd630951fedbefd27ad346ac184f5e66902e549487fdcc8
BLAKE2b-256 checksum
How to use checksums
3fab942c1b526ac56310c2e4c98e181dc829d657f3161e5ef04b56ffebb00be1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.7 Linux/5.13.0-19-generic

Release files / pysciebo-1.1.0-py3-none-any.whl

Download URL pysciebo-1.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5e34ffe0e5df53614aa1cff2325d0b350c07ebe726328136ed78562b4c00096
BLAKE2b-256 checksum
How to use checksums
c761d49345c98a84197a294e19760c816b088bfbe222a12e196a4d89cd54b84f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.7 Linux/5.13.0-19-generic

Security for pysciebo 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page