libextractor
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libextractor] Question about python bindings for libextract (extrac


From: Christian Grothoff
Subject: Re: [libextractor] Question about python bindings for libextract (extractor)
Date: Tue, 17 Sep 2013 14:58:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130827 Icedove/17.0.8

While LE doesn't have to run on a file (you can pass NULL for the filename),
it currently does not expose an API to incrementally give it parts of a
file; while is is theoretically possible add an API to do so, please
remember that
some LE plugins require random access to the data, so mere streaming
wouldn't work
anyway.  Adding such an API would thus still require the client to support
random access, which does not match what you would usually be getting
from say a TCP stream.

The best place to ask these questions is on the mailinglist, which I've
cc'ed.

Happy hacking!

Christian

On 09/17/2013 02:16 PM, M. David Allen wrote:
> Hello,
> 
> I am wondering if it is possible to incrementally feed buffers to the
> extractor object in order to extract all metadata items from a file.
> 
> The extractor program already provides for passing a file name as an
> argument, and an individual buffer - but sometimes it may be desirable to
> have it look over more data than is just in one buffer (e.g. when reading
> from a socket which may contain a lot of data).   It is possible to
> incrementally feed the object data read from this socket, rather than save
> all of the data to a local file and then run the extractor on the file?
> 
> If there is a more appropriate place to take this question, please let me
> know.
> 
> Thanks,
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]