File: getting_started.rst

package info (click to toggle)
python-twomemo 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 252 kB
  • sloc: python: 1,177; makefile: 15
file content (6 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
Getting Started
===============

No further preparation is required to get started with this backend. Create an instance of :class:`~twomemo.twomemo.Twomemo` and pass it to `python-omemo <https://github.com/Syndace/python-omemo>`__ to equip it with ``urn:xmpp:omemo:2`` capabilities.

Users of ElementTree can use the helpers in :ref:`etree` for their XML serialization/parsing, which is available after installing `xmlschema <https://pypi.org/project/xmlschema/>`_, or by using ``pip install twomemo[xml]``. Users of a different XML framework can use the module as a reference to write their own serialization/parsing.