Registry / gcp / google-resumable-media

google-resumable-media

JSON →
library2.10.2pypypi✓ verified 21d ago

A Python library providing utilities for Google Media Downloads and Resumable Uploads. Current version: 2.8.0, released on November 11, 2025. Supports Python 3.7 and above. Release cadence: approximately quarterly.

pip install google-resumable-media
INSTALL
IMPORT
SIG · GOOGLE-RESUMABLE-M
G
google-resumable-media
gcppythonv2.10.2
Install
1.7s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.6MB
glibc
py 3.103.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.
fix
Consider 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.
fix
Upgrade 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
Agent activity
42 hits · last 30 days
node
36
OpenAI (training)
1
Resources
google-resumable-media — pip install google-resumable-media · libregistry