Skip to main content

Upload files to kDrive - Infomaniak

Installation

python3 setup.py install

Configuration

Create an app password here: https://manager.infomaniak.com/v3/profile/application-password

Then you create a file kdrive-upload.cfg inside current directory, or ~/.config/kdrive-upload.cfg or /etc/kdrive-upload.cfg like this:

[credentials]
username = xxx
password = xxx

You can also export KDRIVE_USERNAME or KDRIVE_PASSWORD environment variables to override these

Usage

$ kdrive-upload --help
usage: kdrive_upload [-h] [--drive DRIVE] [--keep] dest file

Upload to kDrive

positional arguments:
  dest           destination directory
  file           file to upload

optional arguments:
  -h, --help     show this help message and exit
  --drive DRIVE
  --keep         keep files after upload

As you can see, by default it deletes local file after upload

Metadata

Release files for kdrive-upload 0.6.1

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

Source distribution (sdist)

Source distribution for kdrive-upload 0.6.1
File Size Uploaded Provenance
kdrive_upload-0.6.1.tar.gz 15.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for kdrive-upload 0.6.1
File Interpreter ABI Platform
kdrive_upload-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.1 kB

Release files / kdrive_upload-0.6.1.tar.gz

Download URL kdrive_upload-0.6.1.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
16d27ce977efdd036b46c4b85952a935fdf6ffcc8d487965fa51da3a6217ded5
BLAKE2b-256 checksum
How to use checksums
fb7103c2a80a9d1ca5dae38c4a9cef0f665cb0085d3017df6951b2d2c91fd282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / kdrive_upload-0.6.1-py3-none-any.whl

Download URL kdrive_upload-0.6.1-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d7b84ed77773b29610d16c31e8b2627ecf114082ccd874bf2954a3c89c07400
BLAKE2b-256 checksum
How to use checksums
5ab55a0c63e22fadcd46294c9fe9822098c64f119057893017ce9a7f084223a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Security for kdrive-upload 0.6.1

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.

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