Skip to main content

Upload files to kDrive

Project description

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

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_upload-0.6.1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

kdrive_upload-0.6.1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file kdrive_upload-0.6.1.tar.gz.

File metadata

  • Download URL: kdrive_upload-0.6.1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for kdrive_upload-0.6.1.tar.gz
Algorithm Hash digest
SHA256 16d27ce977efdd036b46c4b85952a935fdf6ffcc8d487965fa51da3a6217ded5
MD5 b6e2ec327a47f24f2948c970ffe9bca0
BLAKE2b-256 fb7103c2a80a9d1ca5dae38c4a9cef0f665cb0085d3017df6951b2d2c91fd282

See more details on using hashes here.

File details

Details for the file kdrive_upload-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: kdrive_upload-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for kdrive_upload-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d7b84ed77773b29610d16c31e8b2627ecf114082ccd874bf2954a3c89c07400
MD5 65ad0daed5b00b4debbad15cbb9c1793
BLAKE2b-256 5ab55a0c63e22fadcd46294c9fe9822098c64f119057893017ce9a7f084223a9

See more details on using hashes here.

Supported by

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