Skip to main content
https://img.shields.io/pypi/v/pyjabber.svg Python 3.8 to 3.12 Build Status Coverage Status Documentation Status Monthly downloads Total downloads

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.

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]
  --server_out_port INTEGER  Server-to-server port (Out coming connection)
                             [default: 5269]
  --family [ipv4|ipv6]       (ipv4 / ipv6)  [default: ipv4]
  --tls1_3                   Enables TLSv1_3
  --timeout INTEGER          Timeout for connection  [default: 60]
  --database_path TEXT       Path for database file  [default:
                             /home/aaron/pyjabber/pyjabber/db/server.db]
  --database_purge BOOLEAN   Restore database file to default state (empty)
                             [default: False]
  --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

XEP-0004

IMPLEMENTED

Dataforms

XEP-0030

IMPLEMENTED

Service Discovery

XEP-0060

IMPLEMENTED

Pubsub

XEP-0077

IMPLEMENTED

In Band Registration

XEP-0199

IMPLEMENTED

Ping

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.9.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyjabber-0.1.9-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file pyjabber-0.1.9.tar.gz.

File metadata

  • Download URL: pyjabber-0.1.9.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for pyjabber-0.1.9.tar.gz
Algorithm Hash digest
SHA256 2e957c6d5d085667b9751a1c55c44bc7dbe4215bdac95f41b44d95827042ae6c
MD5 4089634a837b59a7e298f016bdc2256f
BLAKE2b-256 b368b45ac9adb05d7df3d64c4b0560f4424d48546c4899b45bc146f53437e08a

See more details on using hashes here.

File details

Details for the file pyjabber-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: pyjabber-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for pyjabber-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 00f9f6733c687748275da5bba0142b23a09ba5ad678fa7b4106ae1872f1e56d1
MD5 7137c00e898676d4334ad833f2c12b82
BLAKE2b-256 37a3fdf85416e37365e6f4bc9492ce36d8b18a64b4c37c7bde2ba1b993a2268e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page