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.2.tar.gz (2.6 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.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kdrive_uploader-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 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.2.tar.gz
Algorithm Hash digest
SHA256 b180d7c40c719116fee4e5f2915846e46ce986631e12e699c38099decf9d45ce
MD5 d05b9c95d16aee7711d4f971e045467d
BLAKE2b-256 d2640b88a4853b3499c93fc16fd5432680369887eb2455048599b79aab5b6117

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kdrive_uploader-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6b369f0df8c3364f2f2ca8190e95036bbe78da2f569d768fe139a753c8547903
MD5 e1b727e09a310756377703f42a7f9eb2
BLAKE2b-256 a86029304309f82ad69649a3ac4537f169e557128faf7aa40ab24364405db697

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