Skip to main content

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.

Source Distributions (53.1 kB view hashes)

Uploaded Source (36.2 kB view hashes)

Uploaded Source

Built Distributions (104.4 kB view hashes)

Uploaded Source (46.7 kB view hashes)

Uploaded Python 3

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