No idea about numpy, but one possible solution would be to use the stringio class.
That allows you to just load the data you actually need into a string with normal file IO (there's also a byte version), create a file-like object from the string and pass that to numpy.