Client for QualitegDrive
Project description
qdown
A Python client for downloading files from QualitegDrive operated by Qualiteg Inc.
Install
pip install qdown
or
pip install git+https://github.com/qualiteg/qdown.git
Usage
qdown ID [options]
Options:
-O FILENAME Specify output filename
-o DIR Specify output directory
-s SERVER Specify server URL (default: https://drive.qualiteg.com)
-q, --quiet Hide progress display
--skip-check Skip file existence check (fastest download)
--use-head Use HEAD request (legacy behavior)
-h, --help Display help
New Features (v1.1+)
Enhanced support for large files and improved performance:
New Options:
--skip-check: Skip file existence verification for fastest download (recommended for large files)--use-head: Use HEAD request method (default is disabled to prevent timeouts)
Improvements:
- HEAD requests are now skipped by default (resolves timeout issues with large files)
- File existence verification via
/file/{id}endpoint (more reliable)
Download Examples
Example 1: Basic Download
qdown xxxxxxxxxxxxx -O my_file.txt
Example 2: From Your Original HTTP Server
qdown xxxxxxxxxxxxx -O my_file.txt -s http://host.docker.internal:3000
Example 3: Fast Download for Large Files (v1.1+)
# Skip all checks for maximum speed
qdown xxxxxxxxxxxxx -O large_file.zip --skip-check
# Silent mode with skip check
qdown xxxxxxxxxxxxx -O huge_file.zip --skip-check -q
Example 4: Legacy Behavior (v1.1+)
# Use traditional HEAD request (if needed for compatibility)
qdown xxxxxxxxxxxxx -O file.txt --use-head
Python API
import qdown
# Basic download
file_path = qdown.download("file_id_here")
# Download with output filename
file_path = qdown.download("file_id_here", output_path="my_file.txt")
# Download from custom server
file_path = qdown.download(
"file_id_here",
output_path="my_file.txt",
server_url="http://localhost:3000"
)
# Fast download for large files (v1.1+)
file_path = qdown.download(
"file_id_here",
output_path="large_file.zip",
skip_exists_check=True, # Skip existence check
skip_head=True, # Skip HEAD request (default)
quiet=True # Silent mode
)
# Use legacy behavior (v1.1+)
file_path = qdown.download(
"file_id_here",
skip_head=False # Enable HEAD request
)
New Parameters (v1.1+)
skip_exists_check: Skip file existence verification (default: False)skip_head: Skip HEAD request (default: True)
Uninstall
pip uninstall qdown -y
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
qdown-1.1.0.tar.gz
(8.9 kB
view details)
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
qdown-1.1.0-py3-none-any.whl
(8.5 kB
view details)
File details
Details for the file qdown-1.1.0.tar.gz.
File metadata
- Download URL: qdown-1.1.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed83d8c35ed4c4368559314b35f0fa689ff1a7f29250189e8b9500afb98785b9
|
|
| MD5 |
34ac9bb02d69495013f9163e2998bd89
|
|
| BLAKE2b-256 |
ab9f3e013c58b7025e4758f777a084bf056714039c9379343cced470ddeccc40
|
File details
Details for the file qdown-1.1.0-py3-none-any.whl.
File metadata
- Download URL: qdown-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db738083e9c943475f63bb5f6240bb5f7a2633ad25f05adf78c3467bfe9a4451
|
|
| MD5 |
f9f75d4767ab9567d9a36f20a1e52d57
|
|
| BLAKE2b-256 |
4852de24a7e6753ff5387961ca1720d6176032d50ec2af3ec8317a51b65c66c2
|