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:
  • system/module (system - Name of the) –

  • indentation (indent - Integer denoting the desired level of) –

  • to (stream - Stream to output) –

  • to

pynlpl.common.u(s, encoding='utf-8', errors='strict')