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

Release files for pyjabber 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyjabber 0.1.8
File Size Uploaded
pyjabber-0.1.8.tar.gz 1.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyjabber 0.1.8
File Interpreter ABI Platform
pyjabber-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / pyjabber-0.1.8.tar.gz

Download URL pyjabber-0.1.8.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
0bc4c8cf43c00d3c1fcf33a830d55bba48a65b41c2beecd082e55c5e7a44883b
BLAKE2b-256 checksum
How to use checksums
6462439b631bf482ed18c752a625bf41b18b12286d8a1e6c2f37181b94842445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.18

Release files / pyjabber-0.1.8-py3-none-any.whl

Download URL pyjabber-0.1.8-py3-none-any.whl
Size 965.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c26a643557de61f249f9f6124f5e5b624240fd083d3d751478d79ea5afef361d
BLAKE2b-256 checksum
How to use checksums
5f654eb1db6c84053a7dff5aca3317b7f4f89168adfd732dc6d9d6b21302cf60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.18

Release history Release notifications | RSS feed

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.10

1 release file

0.1.9

2 release files

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

1 release file

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page