search term parsing like Google/Gmail

Randy Syring rsyring at inteli-com.com
Wed Sep 9 17:37:52 EDT 2009


I am looking for a string parser that works kind of like Google's or 
Gmail's advanced search capabilities.  So it would turn something like this:

    (subject:"hi there" from:[tim, tom, -fred]) or (subject:foobar from:sam)

into a python structure that could be used.  I don't really care so much 
about the search syntax except that easy and intuitive is best for 
users.  Does something like this exist?

-- 
--------------------------------------
Randy Syring
Intelicom
502-644-4776

"Whether, then, you eat or drink or 
whatever you do, do all to the glory
of God." 1 Cor 10:31

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090909/70970108/attachment.html>


More information about the Python-list mailing list