Skip to main content

multiurl

A package to download several URL as one, as well as supporting multi-part URLs

Simple example

from multiurl import download

download(url="http://example.com/test.data",
         target="data.file")

Download from two URLs into one file

from multiurl import download

download(url=["http://example.com/test1.data",
              "http://example.com/test2.data"],
         target="data.file")

URLs types can be mixed:

from multiurl import download

download(url=["http://example.com/test1.data",
              "ftp://example.com/test2.data"],
         target="data.file")

Download parts of URLs

Provide parts of URLs as a list of (offset, length) tuples, expressed in bytes.

from multiurl import download

download(url="http://example.com/test.data",
         parts = [(0, 10), (40, 10), (60, 10)],
         target="data.file")

Download parts of URLs form several URLs

from multiurl import download

download(url=[("http://example.com/test1.data", [(0, 10), (40, 10), (60, 10)]),
              ("http://example.com/test2.data", [(0, 10), (40, 10), (60, 10)])],
         target="data.file")

License

Apache License 2.0 In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.

Metadata

Release files for multiurl 0.3.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multiurl 0.3.9
File Size Uploaded
multiurl-0.3.9.tar.gz 20.0 kB Details

Built distribution (wheel)

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

Total release size: 42.7 kB

Release files / multiurl-0.3.9.tar.gz

Download URL multiurl-0.3.9.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
799b7998bfabd4e15d51ba09d08eb5d0716762655bae6e09db00a14c3bfaeae6
BLAKE2b-256 checksum
How to use checksums
d335a08c568e63fda8cb1b7f3168409c026d2b407ab6d82da09cea078b01c2d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / multiurl-0.3.9-py3-none-any.whl

Download URL multiurl-0.3.9-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5acedb53343bb47ff6188405dc33e10c1f1713591de8929a69b966d4d395d88e
BLAKE2b-256 checksum
How to use checksums
59f12374970b2ad0ab20e28a0cd12eec1c234567fef31064f0903396d55ae3f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

0.3.9 This release

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.2.3.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.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