Skip to content

valgur/pyhttpio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Read files behind HTTP URLs as if they were local by adding seeking functionality to HTTPResponses. A minimal Python proof of concept.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages