vercel_blob
A Python Wrapper for Vercel Blob Storage API
What it is and what it does
vercel_blob is a Python wrapper around the Vercel Blob Storage REST API, providing methods to manage files stored in Vercel's blob service. It abstracts HTTP requests into simple Python functions for listing, uploading, downloading, deleting, copying, and inspecting file metadata. The package depends on requests, urllib3, certifi, and tqdm for HTTP communication and progress reporting.
The wrapper supports both simple and multipart uploads, pagination for large file lists, optional random suffixes to prevent overwrites, and verbose progress output during operations. It handles network resilience through built-in retry logic with exponential backoff, though the description notes that Vercel Blob Storage is still in beta and connection errors can occur. The package targets Python 3.10 and later.
Use it for:
- Upload user-generated content or media files to Vercel Blob Storage from a Python backend without writing raw HTTP requests.
- Batch delete or copy files across folders in blob storage as part of a data management or cleanup workflow.
- Download files from blob storage to a server for processing, with progress tracking via verbose output.
- List and paginate through large collections of stored blobs to implement file browsing or inventory features.
- Upload large video or media files using multipart uploads to improve resilience and potentially speed up transfers.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client for uploading, downloading, listing, copying, and deleting files in Vercel Blob Storage via its REST API.
Yes, if you are already using Vercel Blob Storage and want a straightforward Python client. The package has low install friction, no known vulnerabilities, and recent maintenance. However, verify the license terms before use, and be aware that the underlying Vercel Blob Storage service is still in beta—expect possible API changes or connection issues. Not suitable if you need a stable, production-hardened storage abstraction.
Install
vercel-blob on PyPI
pip
pip install vercel-blobuv
uv add vercel-blobpoetry
poetry add vercel-blobInstalling vercel_blob
Before you install
Low friction installation with four lightweight runtime dependencies. The package is aging but actively maintained as of June 2025, with a recent commit history. No notable install complications.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the repository before using in proprietary or commercial contexts.
Quickstart
pip install vercel_blob
import vercel_blob
# List blobs
blobs = vercel_blob.list({'limit': '5'})
# Upload a file
with open('file.txt', 'rb') as f:
resp = vercel_blob.put('test.txt', f.read())
# Delete a blob
vercel_blob.delete('blob_url')
Requires BLOB_READ_WRITE_TOKEN environment variable set for API authentication. Python 3.10 or later required.
Verify before relying
- Whether the 5TB multipart upload limit mentioned in the description is a Vercel Blob Storage platform limit or a vercel_blob-specific constraint.
- Current status of Vercel Blob Storage beta phase and any breaking API changes since package release.
- Whether the retry logic with exponential backoff is configurable or always uses the hardcoded 3-attempt strategy.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — requests, urllib3, certifi, tqdm |
| Maintenance | aging — 433 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 135,905/month — #11,415 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: vercel_blob-0.4.2-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
gsutilgsutil is a command-line tool for managing…
permissive · top 5,000 on PyPI
vercelPython SDK for Vercel that provides modules for…
permissive · top 5,000 on PyPI
osfclientosfclient is a Python library and command-line…
permissive · top 15,000 on PyPI
blobfileProvides a unified Python file interface for…
permissive · top 5,000 on PyPI
vercel-headersRegisters and exposes request headers for…
permissive · top 5,000 on PyPI
vercel-workersPython SDK for publishing and consuming…
permissive · top 5,000 on PyPI
python-multipartParses multipart form data from HTTP requests…
permissive · top 1,000 on PyPI
ibm-cos-sdk-s3transferManages transfers to and from IBM Cloud Object…
permissive · top 5,000 on PyPI
tuspyA Python client for uploading files to servers…
permissive · top 5,000 on PyPI
obstoreobstore provides a unified Python interface to…
permissive · top 5,000 on PyPI