Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Nameko extension with a Cometd client implementing Bayeux protocol

Project Description

Nameko Cometd Bayeux Client

Nameko extension with a Cometd client implementing Bayeux protocol supporting server to client event delivery via long-polling HTTP transport.


Add Bayeux client configuration to your Nameko config file:

# config.yaml

    VERSION: 1.0

Decorate entrypoint in your service class:


from nameko_bayeux_client import subscribe

class Service:

    name = 'some-service'

    def handle_event(self, data):
        # this entrypoint is fired on incoming events
        # of '/some/topic' channel

Run your service, providing the config file:

$ nameko run service --config config.yaml

On start-up, the extension connects to Cometd server, subscribes and starts listening to channels defined by entrypoints.

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(8.0 kB) Copy SHA256 Hash SHA256
py3 Wheel Apr 22, 2017
(5.7 kB) Copy SHA256 Hash SHA256
Source Apr 22, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting