OneDrive downloader: python utility to download files from OneDrive
Install (PyPI)
pip install onedrivedownloader
First stable release: 1.0.0
Current: 1.1.3
Do not require authentication.
Requires
tqdm: for nice progress barrequests: fetch data from OneDrive
Usage
from onedrivedownloader import download
...
download(url: str, filename: str, unzip=False, unzip_path: str = None, force_download=False, force_unzip=False, clean=False)
Required parameters:
url: The url to download from (should end with '?download=1').filename: The filename to save the file as.
Optional parameters:
unzip: want to unzip file or just download? If file is not.zip, do nothing.unzip_path: path to unzip files (default: current directory)force_download: force files download if exist? (default: False)clean: clean source file after unzip?
Example
ln = "https://unimore365-my.sharepoint.com/:u:/g/personal/215580_unimore_it/EUmqgpzRz3tPlD2KiVNRqdABBJl7qQYcIeROtMc4g2UeIA?e=zZtkLr"
download(ln, filename="file.zip", unzip=True, unzip_path="./data")
Metadata
Release files for onedrivedownloader 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| onedrivedownloader-1.1.3.tar.gz | 4.5 kB | Without provenance | Details for onedrivedownloader-1.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| onedrivedownloader-1.1.3-py3-none-any.whl | Python 3 | none | any | Details for onedrivedownloader-1.1.3-py3-none-any.whl |
Total release size: 9.6 kB
Release files / onedrivedownloader-1.1.3.tar.gz
| Download URL | onedrivedownloader-1.1.3.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ce25960fd407790eae3af1880df60d6bfd52d0176e8f058ec5d5c4e1470ac55
|
|
BLAKE2b-256 checksum How to use checksums |
7cff7559ec3ba73e4a5ca40496a9a9329be9910b7601ac07d0568cb3629129e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Release files / onedrivedownloader-1.1.3-py3-none-any.whl
| Download URL | onedrivedownloader-1.1.3-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2eb0bc9ae70108c328b460052da2733ccc1738db57fbc6c0fe501ca7b8483253
|
|
BLAKE2b-256 checksum How to use checksums |
10a8379308409ec734a6f7e6774a3b048788cd2c46b5afb6390eadbce9e8a6e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Security for onedrivedownloader 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.