Skip to main content

Programmatically upload files to kDrive drop boxes

Project description

kDrive Uploader

A small tool to programmatically upload files to kDrive drop boxes, used by the author as a poor man's backup solution.

Quickstart

First install with pip then run:

pip install kdrive-uploader
kdrive-uploader 0000000/00000000-0000-0000-0000-000000000000 myfile.zip

Or run directly using uv:

uvx kdrive-uploader 0000000/00000000-0000-0000-0000-000000000000 myfile.zip

Or run with docker (still using uv):

docker run --rm --workdir /io -v .:/io -v uv-cache:/root/ ghcr.io/astral-sh/uv:alpine uvx kdrive-uploader 0000000/00000000-0000-0000-0000-000000000000 myfile.zip

The link can either be just the last part containing the ids as above or a full kDrive drop box link (in the shape https://kdrive.infomaniak.com/app/collaborate/0000000/00000000-0000-0000-0000-000000000000).

Manual

Usage: kdrive-uploader [OPTIONS] KDRIVE_SHARE_LINK FILE

╭─ Arguments ────────────────────────────────────────────────────────────────╮
│ *    kdrive_share_link      TEXT  [required]                               │
│ *    file                   PATH  [required]                               │
╰────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────╮
│ --first-name        TEXT  [default: kdrive_uploader]                       │
│ --last-name         TEXT  [default: kdrive_uploader]                       │
│ --email             TEXT  [default: kdrive_uploader@ik.me]                 │
│ --help                    Show this message and exit.                      │
╰────────────────────────────────────────────────────────────────────────────╯

Project details


Download files

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

Source Distribution

kdrive_uploader-0.0.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kdrive_uploader-0.0.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file kdrive_uploader-0.0.3.tar.gz.

File metadata

  • Download URL: kdrive_uploader-0.0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kdrive_uploader-0.0.3.tar.gz
Algorithm Hash digest
SHA256 92b6b5f8fe921949fe71d97abc121e59d6dae92ed14110af1e92fd742b199850
MD5 64b96f99922067bdd9eadc40a9a3cd92
BLAKE2b-256 6650b52791a94a87904d44e5c36446b8698ce087bb4fe8f5a04c098e1051c4db

See more details on using hashes here.

File details

Details for the file kdrive_uploader-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: kdrive_uploader-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kdrive_uploader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f4edf96d8e20322f3bae2aeefa2cd340215f0ebec08a1f84f2ccafb6a648c910
MD5 45806055bc3d1db009e7da3f9dc2ecfa
BLAKE2b-256 f6943d1ec16eda5791b387c2d59a9624bb7317cfb6a694d291c174aef2a02483

See more details on using hashes here.

Supported by

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