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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kdrive_uploader-0.0.4.tar.gz.
File metadata
- Download URL: kdrive_uploader-0.0.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e91a1a43e968b24d6f638dce2271cbbba82c93ed77a2ec098fdfc44500270e3
|
|
| MD5 |
6fd865ba557c81b5df1cc22ca26c6400
|
|
| BLAKE2b-256 |
833c2abad1e417d0fc0f082b8fcbee140c4cef2786b6c95143061911ec11adaa
|
File details
Details for the file kdrive_uploader-0.0.4-py3-none-any.whl.
File metadata
- Download URL: kdrive_uploader-0.0.4-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3188655847df1aaf27456ee00b63531fd0d05fc9ed11ace5b7e46ad5f5e36cf
|
|
| MD5 |
04464c28e1c6dbb7d329562b5a3538a7
|
|
| BLAKE2b-256 |
efccca5e46256f64597f11bb3b70fac6c7d523d75aed5e9b311fd4e4b419152e
|