pyjabber.utils package

Submodules

pyjabber.utils.ClarkNotation module

pyjabber.utils.ClarkNotation.clarkFromTuple(tuple)[source]

Generate a clark notaion from a tuple in the format (namespace, tag). It’s also possible to pass a tuple form of only a tag element (tag)

pyjabber.utils.ClarkNotation.deglose(tag)[source]

Return the namespace and tag separated in a 2-tuple :return: (namespace, tag)

pyjabber.utils.ClarkNotation.isClark(tag)[source]

Regex to check if a string is in the clark notation format

Return type:

bool

pyjabber.utils.Singleton module

class pyjabber.utils.Singleton.Singleton[source]

Bases: type

Module contents

class pyjabber.utils.Singleton[source]

Bases: type