Skip to content
Snippets Groups Projects
README.md 1.11 KiB
Newer Older
Daniel Brötzmann's avatar
Daniel Brötzmann committed
# Welcome to python-nbxmpp
Yann Leboulanger's avatar
Yann Leboulanger committed

Philipp Hörist's avatar
Philipp Hörist committed
`python-nbxmpp` is a Python library that provides a way for Python applications to use the XMPP network. This library was initially a fork of `xmpppy`.
Yann Leboulanger's avatar
Yann Leboulanger committed

Philipp Hörist's avatar
Philipp Hörist committed
## Runtime Requirements

- [Python](https://www.python.org/) (>=3.10)
- [PyGObject](https://pypi.org/project/PyGObject/) (>=3.42.0)
- [GLib](https://gitlab.com/gnome/glib) (>=2.66.0)
- [libsoup3](https://libsoup.org/)
- [precis-i18n](https://pypi.org/project/precis-i18n/) (>=1.0.0)
- [packaging](https://pypi.org/project/packaging/)
- [idna](https://pypi.org/project/idna/)
Philipp Hörist's avatar
Philipp Hörist committed

## Optional Runtime Requirements

- [python-gssapi](https://pypi.org/project/gssapi/) GSSAPI authentication

## Build Requirements

- [setuptools](https://pypi.org/project/setuptools/) (>=65.0.0)
Yann Leboulanger's avatar
Yann Leboulanger committed
## Features

* List of [supported XEPs](https://xmpp.org/software/libraries/python-nbxmpp/)
Daniel Brötzmann's avatar
Daniel Brötzmann committed

### Setup

Run the following:

or

    pip install .[gssapi]

to also install the optional dependency `gssapi`.

Daniel Brötzmann's avatar
Daniel Brötzmann committed
### Usage

To use python-nbxmpp, `import nbxmpp` in your application.
Philipp Hörist's avatar
Philipp Hörist committed

To see an example check out [nbxmpp-client](https://pypi.org/project/nbxmpp-client/)