rangehttpserver
SimpleHTTPServer with support for Range requests
What it is and what it does
RangeHTTPServer extends Python's built-in SimpleHTTPServer to handle HTTP Range requests, which allow clients to request specific byte ranges of a file. This is essential for resumable downloads, video streaming, and other scenarios where partial content retrieval is needed. The package is a minimal, zero-dependency module that can be run directly from the command line to serve files from the current directory with Range support enabled.
It's intended for developers who need a quick, local HTTP server with Range capabilities for testing, development, or serving static files—not for production use. The dormant maintenance status and lack of recent commits suggest it is stable but receives minimal active development.
Use it for:
- Test resumable downloads by serving files with Range request support during local development.
- Serve video or large media files that need to support seeking and partial playback.
- Verify client-side Range request handling in HTTP libraries or applications.
- Quick local file sharing with Range support without setting up a full web server.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A drop-in replacement for Python's SimpleHTTPServer that adds support for HTTP Range requests, enabling clients to request specific byte ranges of files.
Yes, if you need a simple, zero-dependency HTTP server with Range support for local testing or development. The low install friction and permissive license make it a lightweight choice. However, the dormant maintenance status and unspecified Python version support mean you should verify compatibility with your target Python version before relying on it in production or in new projects with strict version requirements.
Install
rangehttpserver on PyPI
pip
pip install rangehttpserveruv
uv add rangehttpserverpoetry
poetry add rangehttpserverInstalling rangehttpserver
Before you install
Low friction: pure Python wheel with no runtime dependencies. Maintenance is dormant—last release was 2024-08-27 but the repository receives infrequent updates.
License in practice
Licensed under Apache Software License (permissive), so you can use, modify, and distribute it freely in commercial and private projects without restriction.
Quickstart
$ pip install rangehttpserver
$ python -m RangeHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
Verify before relying
- Whether the package works correctly with modern Python versions (requires_python is unspecified in metadata).
- Whether Range request handling covers all HTTP/1.1 spec edge cases (e.g., multipart ranges, conditional requests).
- Production-readiness and stability guarantees given the dormant maintenance status.
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 717 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,216,617/month — #4,208 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rangehttpserver-1.4.0-py2.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
dbs3-pycurlProvides a Python client wrapper around pycurl…
permissive · top 15,000 on PyPI
rets-pythonPython 3 client library for querying and…
permissive · top 15,000 on PyPI
multiurlDownloads files from one or multiple URLs into…
permissive · top 5,000 on PyPI
urllib3-futureHTTP client library supporting HTTP/1.1,…
permissive · top 5,000 on PyPI
pypiserverRuns a minimal PyPI-compatible package server…
permissive · top 5,000 on PyPI
httprhttpr is a fast HTTP client for Python built on…
permissive · top 5,000 on PyPI
niquestsNiquests is a drop-in replacement for Requests…
permissive · top 5,000 on PyPI
django-user-sessionsReplaces Django's opaque session backend with…
permissive · top 15,000 on PyPI
tuspyA Python client for uploading files to servers…
permissive · top 5,000 on PyPI
simple-rest-clientA lightweight HTTP client library for building…
unclear · top 15,000 on PyPI