I\'ve written some Python code that fetches a zip file from the web and into a string:
In [1]: zip_contents[0:5] Out[1]: \'PK\\x03\\x04\\x14\'
Wrap your string in a cStringIO object. It looks, acts, and quacks like a file object, but resides in memory.