Install & Compatibility
Where this runs
tested against v2.10.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ChunkedDownload
✓ from google.resumable_media.requests import ChunkedDownload
✗ from google.resumable_media.requests import ChunkedDownload
Download
✓ from google.resumable_media.requests import Download
Upload
✓ from google.resumable_media.requests import Upload
This script demonstrates how to perform a chunked download using the google-resumable-media library. It downloads a large file in 1 MB chunks and writes it to 'downloaded_file'.
import os
from google.resumable_media.requests import ChunkedDownload
# Set up the media URL and destination stream
media_url = 'https://example.com/largefile'
stream = open('downloaded_file', 'wb')
# Initialize ChunkedDownload
chunk_size = 1024 * 1024 # 1 MB
download = ChunkedDownload(media_url, chunk_size, stream)
# Consume the download in chunks
while not download.finished:
download.consume_next_chunk()
print(f'Downloaded {download.bytes_downloaded} bytes')
# Close the stream
stream.close()
Debug
Known issues
breakingThe library has been archived as of March 6, 2026, and is now in a read-only state.fixConsider migrating to alternative libraries for active development and support.
affects: All
deprecatedSupport for Python 2.7 and 3.5 has been removed. The last compatible version for these Python versions is 1.3.3.fixUpgrade to Python 3.7 or later to continue using the library.
affects: All versions after 1.3.3
Upgrade
Version history
2.10.2latest on PyPI · released Aug 25, 2026
Audit
Dependencies
requestsrequiredRequired for HTTP requests handling