Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Xbus Broker written in Python3

Project description

Build Status is the central piece of the Xbus project.

Related projects:


Xbus is an Enterprise service bus. As such it aims to help IT departments achieve a better application infrastructure layout by providing a way to urbanize the IT systems.

The goals of urbanization are:
  • high coherence
  • low coupling
More information about Xbus:


Get requirements: python3-dev, 0mq, python3 and redis:

$ sudo apt-get install libzmq3-dev python3 python3-dev redis-server virtualenvwrapper

Set up a virtualenv with Python 3:

$ mkvirtualenv -p /usr/bin/python3 xbus

Install the package:

$ pip install


Create configuration files (eg for the 0.1.3 version):

$ wget -O config.ini
$ wget -O logging.ini

Edit the files following comments written inside. Note: Ensure the path to the logging file is an absolute path.

Initialize the database

Run the “setup_xbusbroker” program:

$ setup_xbusbroker -c config.ini

Migrating an existing database

Use the “migrate_xbus_broker” project. Instructions are on <>.


Run the “start_xbusbroker” program:

$ start_xbusbroker -c config.ini


Sorted by commit date:


0.2.0 (2016-06-27)

  • Better message state tracking.
  • Undelivered messages are re-sent when the recipient comes back.
  • More logging.
  • Documentation improvements.
  • Upgrade step: Migrate the DB to version 1 using <>.

0.1.5 (2015-05-25)

  • Update requirements.

0.1.4 (2015-05-18)

  • Update the setup script wrt permission changes.
  • Define required package versions in and document why some are frozen.

0.1.3 (2015-05-11)

  • Improve the README and configuration file paths.

0.1.2 Initial release (2015-05-11)

  • Initial implementation of the Xbus broker in Python 3.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (104.4 kB) Copy SHA256 hash SHA256 Egg 3.4 (46.7 kB) Copy SHA256 hash SHA256 Wheel 3.4 (36.2 kB) Copy SHA256 hash SHA256 Source None (53.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page