Module Expr Str ImportFrom alias alias Import alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str attr Str Str attr Str Str Assign NameStore Str Assign NameStore Num For NameStore NameLoad body If BoolOpAnd CompareGt BinOpDiv NameLoad Num Num CompareEq BinOpMod NameLoad Num Num body AugAssignAdd NameStore Str AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore BinOpBitOr Call NameLoad Call NameLoad keyword NameLoad Assign NameStore Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr Str Str NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list
N/A N/A 
Module contains various helper functions

get_search_terms(text) is a function tokenizing a text and return a Set
of tokens for use by any function accepting iterables(q).
canonicalize_mac(key) is a function taken as MAC address as a string and
returning it in the proper format (aka aa:bb:cc:dd:ff:ee)
 whoosh.analysis SpaceSeparatedTokenizer StopFilter N/A re canonicalize_mac N/A N/A key N/A N/A N/A 
    Accepts a MAC in various formats and returns at form aa:bb:cc:dd:ee:ff

    @type  key: string
    @param key: the MAC to canonicalize

    @rtype: string
    @return: The MAC address in canonical format
     N/A string N/A N/A N/A N/A N/A N/A N/A N/A key lower replace : replace - replace . N/A result N/A count 0 N/A s string N/A N/A N/A N/A N/A count 2 0 N/A N/A count 2 0 N/A N/A result : N/A result s N/A count 1 N/A result N/A get_search_terms N/A N/A text N/A N/A N/A 
    Splits up a text in tokens, drops non-usefull ones and returns a Set of tokens

    @type   text: String
    @param  text: A unicode string to split up in tokens

    @rtype: Set of strings
    @return: A Set of usefull unique tokens appearing the text
     N/A stoplist N/A and is it an as at have in yet if from for when by to you be we that may not with tbd a on your this of us will can the or are up down ip N/A analyzer N/A N/A SpaceSeparatedTokenizer N/A StopFilter stoplist stoplist N/A tokens N/A set N/A N/A x text N/A x N/A analyzer text N/A tokens N/A set N/A N/A N/A re sub [\(\)/] x N/A x tokens N/A tokens N/A