Module esistools
[hide private]
[frames] | no frames]

Module esistools

Miscellaneous utility functions useful for dealing with ESIS streams.

Classes [hide private]
ESISReader
SAX Reader which reads from an ESIS stream.
Attributes
Locator
Functions [hide private]
 
_data_match(...)
match(string[, pos[, endpos]]) --> match object or None.
 
decode(s)
string
_null_join(S, sequence)
Return a string which is the concatenation of the strings in the sequence.
 
encode(s)
 
parse(stream_or_string, parser=None)
Variables [hide private]
  _charmap = {'\x00': '\x00', '\x01': '\x01', '\x02': '\x02', '\...

Imports: re, xml


Function Details [hide private]

_data_match(...)

 

match(string[, pos[, endpos]]) --> match object or None. Matches zero or more characters at the beginning of the string

_null_join(S, sequence)

 

Return a string which is the concatenation of the strings in the sequence. The separator between elements is S.

Returns: string

Variables Details [hide private]

_charmap

Value:
{'\x00': '\x00',
 '\x01': '\x01',
 '\x02': '\x02',
 '\x03': '\x03',
 '\x04': '\x04',
 '\x05': '\x05',
 '\x06': '\x06',
 '\x07': '\x07',
...