Skip to main content

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 bar
  • requests: 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)

Source distribution for onedrivedownloader 1.1.3
File Size Uploaded
onedrivedownloader-1.1.3.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for onedrivedownloader 1.1.3
File Interpreter ABI Platform
onedrivedownloader-1.1.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.3.1

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page