<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Python on To Linux and beyond !</title>
    <link>https://home.regit.org/tags/python/</link>
    <description>Recent content in Python on To Linux and beyond !</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Sun, 09 Nov 2014 10:12:16 +0000</lastBuildDate>
    <atom:link href="https://home.regit.org/feed/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Efficient search of string in a list of strings in Python</title>
      <link>https://home.regit.org/2014/11/python-search-string-in-a-set-of-strings/</link>
      <pubDate>Sun, 09 Nov 2014 10:12:16 +0000</pubDate>
      <guid>https://home.regit.org/2014/11/python-search-string-in-a-set-of-strings/</guid>
      <description>&lt;h4 id=&#34;introduction&#34;&gt;Introduction&lt;/h4&gt;
&lt;p&gt;I’m currently working on a script that parses &lt;a href=&#34;https://redmine.openinfosecfoundation.org/projects/suricata/wiki/EveJSONFormat&#34;&gt;Suricata EVE log&lt;/a&gt; files and try to detect if some fields in the log are present in a list of bad patterns. So the script has two parts which are reading the log file and searching for the string in a list of strings. This list can be big with a target of around 20000 strings.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This post may seem trivial for real Python developers but as I did not manage to find any documentation on this here is this blog post.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
