Skip to main content

Make downloading scientific data much easier

Project description


Downloads PyPI Documentation Status

Make downloading scientific data much easier

Introduction

DataDownloader is a user-friendly package for downloading files using HTTP/HTTPS. It currently includes a downloader module for downloading files, a parse_urls module for parsing URLs, and a services module for managing well-known online services.

Highlight Features

DataDownloader has several features to make retrieving files easy, including:

  • Resumable: You can resume aborted downloads automatically when you re-execute the code if website support resuming (status code is 216 or 416 when send a HEAD request to the server supplying a Range header)
  • Asynchronous: Can download multiple files at the same time when download a single file very slow.
  • Convenient: Provide a easy way to manage your username and password and parse urls from different sources:
    • netrc: Provide a convenient way to manage your username and password via .netrc file, avoiding providing your login information over and over again.
    • parse_urls: Provide various methods to parse urls from different sources. See sections :ref:parse_urls for more details
    • services: Provide a convenient way to manage well-known online services, currently support: HyP3, LiCSAR, Sentinel-1 orbit.

Installation

You can install DataDownloader via pip from PyPI:

pip install data_downloader

or you can install the latest version from GitHub:

pip install git+hhttps://github.com/Fanchengyan/data-downloader.git

Usage

The detailed documentation is available at: https://data-downloader.readthedocs.io/en/latest/.

[!TIP] We provide some examples to help you get started quickly : https://data-downloader.readthedocs.io/en/latest/Tutorials/index.html

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

data_downloader-1.2.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

data_downloader-1.2-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file data_downloader-1.2.tar.gz.

File metadata

  • Download URL: data_downloader-1.2.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for data_downloader-1.2.tar.gz
Algorithm Hash digest
SHA256 2717cd444a8a63450c4229bf1b90b81007fd2108b512d3e99cec57e234e4ed08
MD5 487719ddd011b9482dd84a9d17381948
BLAKE2b-256 58c5f780436acfe577fa951ce998ee8bbfba232fa69e3cac69a68032aac59dc7

See more details on using hashes here.

File details

Details for the file data_downloader-1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for data_downloader-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad4924c57cad7f1a6f8ac2b6a487832719dc3b949b898b2d6511b3daecb3659c
MD5 4da10d7475378aaac482b5a2a104dfeb
BLAKE2b-256 0e422dfdcf435a2e5dd19035bb81065b0e439bccd5b61df75a987bbdd12819f8

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