Common Functions

pynlpl.common.Enum(*names)
pynlpl.common.b(s)
pynlpl.common.isstring(s)
pynlpl.common.log(msg, **kwargs)

Generic log method. Will prepend timestamp.

Keyword Arguments:
 
  • - Name of the system/module (system) –
  • - Integer denoting the desired level of indentation (indent) –
  • - List of streams to output to (streams) –
  • - Stream to output to (stream) –
pynlpl.common.u(s, encoding='utf-8', errors='strict')