A Python XMPP server
Project description
PyJabber is a server for Jabber/XMPP entirely written in Python, with minimal reliance on external libraries.
It strives to provide a simple, lightweight, and comprehensible codebase, featuring a modular structure that
facilitates extension through the implementation of necessary XEPs for specific use cases.
While initially designed to fulfill the requirements of the multi-agent system SPADE, it can be easily customized to suit any other purpose.
Free software: MIT license
Documentation: https://pyjabber.readthedocs.io.
Installation
pip install pyjabber
Quick start
from pyjabber import Server
my_server = Server()
my_server.start()
or
pyjabber --help
Usage: pyjabber [OPTIONS]
Options:
--host TEXT Host name [default: <HOSTNAME>]
--client_port INTEGER Server-to-client port [default: 5222]
--server_port INTEGER Server-to-server port [default: 5269]
--family [ipv4|ipv6] (ipv4 / ipv6) [default: ipv4]
--tls1_3 Enables TLSv1_3
--timeout INTEGER Timeout for connection [default: 60]
--log_level [INFO|DEBUG] Log level alert [default: INFO]
--log_path TEXT Path to log dumpfile
-D, --debug Enables debug mode in Asyncio
--help Show this message and exit.
Features
Status |
Description |
|
---|---|---|
TLS |
Implemented |
v1.2 + v1.3. Hostname certificate autogenerated with CA supplied |
SASL |
Implemented |
PLAIN, EXTERNAL (s2s) |
Roster |
Implemented |
CRUD avaliable |
Presence |
Implemented (local bound) |
Subscribe, Unsubscribed, Initial presence and Unavailable |
Plugins
Status |
Description |
|
---|---|---|
IMPLEMENTED |
In Band Registration |
|
IMPLEMENTED |
Ping |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyjabber-0.1.3.tar.gz
(147.0 kB
view details)
Built Distribution
pyjabber-0.1.3-py3-none-any.whl
(112.3 kB
view details)
File details
Details for the file pyjabber-0.1.3.tar.gz
.
File metadata
- Download URL: pyjabber-0.1.3.tar.gz
- Upload date:
- Size: 147.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766ed6c1b949814d2c5c6d0ff3f9c0037f6572c864bd315ded12dc2572061005 |
|
MD5 | 7f7641a72122e699e4eb6ab219e0ecf7 |
|
BLAKE2b-256 | 9b439f0629deb86485f5812a0ece7243cf820f24389a2ac9e529ef3c7f6e843d |
File details
Details for the file pyjabber-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: pyjabber-0.1.3-py3-none-any.whl
- Upload date:
- Size: 112.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49d43d257030be93a1b1c3f88ca349dafcf1c560813ed8f9964cae1eeae42b4 |
|
MD5 | 29bca78f1672d12cce82e2aefd55bd4b |
|
BLAKE2b-256 | a613d3bcc45d9b8176d34854d43f5d9456eb906e77c9cd548387b1f1e8b9e7ca |