ErosLever / pyremotezip

Python module to extract single files from remote ZIP archives without downloading the entire ZIP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stories in Ready

PyRemoteZip

PyRemoteZip is a pure python module to extract files from remote zip archives without downloading the whole zip archive.

Usage

    from pyremotezip import RemoteZip
    rz = RemoteZip(<some_url_here>)
    toc = rz.getTableOfContents()
    
    # want file at pos 2
    output = rz.extractFile(toc[2]['filename'])

Contributing

Have you forked and improved this? Please submit your pull requests and raise issues here!

About

Python module to extract single files from remote ZIP archives without downloading the entire ZIP

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%