pyjabber.stanzas package¶ Subpackages¶ pyjabber.stanzas.error package Submodules pyjabber.stanzas.error.StanzaError module bad_request() conflict_error() feature_not_implemented() internal_server_error() invalid_xml() item_not_found() not_acceptable() not_authorized() service_unavaliable() Module contents Submodules¶ pyjabber.stanzas.IQ module¶ class pyjabber.stanzas.IQ.IQ(type_, id_=None, from_=None, to=None, **extra)[source]¶ Bases: Element An IQ stanza element based on ElementTree. The enum TYPE define the possible values of type class TYPE(value)[source]¶ Bases: Enum An enumeration. ERROR = 'error'¶ GET = 'get'¶ RESULT = 'result'¶ SET = 'set'¶ pyjabber.stanzas.Message module¶ class pyjabber.stanzas.Message.Message(mto, mfrom, id, body, mtype='chat', tag='message', **extra)[source]¶ Bases: Element pyjabber.stanzas.Presence module¶ class pyjabber.stanzas.Presence.Presence(tag='presence', attrib=Ellipsis, **extra)[source]¶ Bases: Element Module contents¶