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: localhost]
--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. Localhost certificate included |
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.5.tar.gz
(1.2 MB
view details)
Built Distribution
File details
Details for the file pyjabber-0.1.5.tar.gz
.
File metadata
- Download URL: pyjabber-0.1.5.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb4e4e80dfaa7cda6cedd5848c00e7f523825ecd99ff45def7aba4465119ad8f |
|
MD5 | c2649c28bebbbf5a3b2a644d0a41f337 |
|
BLAKE2b-256 | eb8cd8913664f79b5d44b8f3160c38b893dde165262ffbc57c07eeab8f1106ff |
File details
Details for the file pyjabber-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pyjabber-0.1.5-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d2b8df3e6bf2cb998003300e7dd199e3a99f3e064fec447edd39907e1abb006 |
|
MD5 | 0aa26f70e50e1d67526cfe09f82c650f |
|
BLAKE2b-256 | ef0b403046491043c66fc8b9687a999cb495fa715ac3d29e723ad8842ca56847 |