GitXplorerGitXplorer
v

pyhttpio

public
6 stars
4 forks
0 issues

Commits

List of commits on branch master.
Unverified
42bcc03beb7b98f36f22941b4ed4f642ef711aab

Update SciHub URL

vvalgur committed 9 years ago
Unverified
681dd9cf973dec7a1e5388f10525471dd9a62a39

Extended README.md

vvalgur committed 9 years ago
Unverified
62002813e1159e17ca383e104b6659519e8d25ea

Initial commit

vvalgur committed 9 years ago
Unverified
b38f45a7d6409b939c743d4e256f9c0c3ad78620

Initial commit

vvalgur committed 9 years ago

README

The README file for this repository.

pyhttpio

Read files behind HTTP URLs as if they were local by adding seeking functionality to HTTPResponses. This is intended as a simple Python proof of concept.

Seeking is accomplished by manipulating the range: bytes=xx-yy HTTP header.

This functionality can be useful when handling large archives or images, where it allows a small file or some other portion of it to be easily extracted without needing to download the full thing. See the test snippets in test_seekableHTTPFile.py for examples.