Skip to main content

A Python XMPP server

Project description

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]
  --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

XEP-0077

IMPLEMENTED

In Band Registration

XEP-0199

IMPLEMENTED

Ping

Project details


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

Uploaded Source

Built Distribution

pyjabber-0.1.6-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyjabber-0.1.6.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for pyjabber-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b4416328117d35e3c81d5158f2fdd56f4e5c3b281483ff7cd3c84275e2522378
MD5 b0026e6177097e39ac438ed81b25ce01
BLAKE2b-256 943809cbbb441ab92d800e198f18bf34e3d91db9f2381ddfb27012e0e6447fc0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyjabber-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for pyjabber-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 64e346ac675fdb173fc561279078c6ba57a5c17cc2c4341e5decae67ce9c59be
MD5 9a70308517910426c0a05ffc38703a3a
BLAKE2b-256 615bb3132b6ec5938cef9050051f93d4b4f474391cc41614106cc31588389131

See more details on using hashes here.

Supported by

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