Skip to main content

Turn Server-Sent Events into fedmsgs.

Project description

# sse2fedmsg

sse2fedmsg translates [Server-Sent Events](https://www.w3.org/TR/eventsource/) to [fedmsgs](http://fedmsg.com/).

## Usage

First, install the Python package: ` $ pip install sse2fedmsg `

Next, run the following: ` $ sse2fedmsg <topic> <feed> `

For example: ` $ sse2fedmsg librariesio http://firehose.libraries.io/events `

## Development

To observe the messages being published, start a fedmsg-relay and optionally run it in the background: ` $ fedmsg-relay --config-filename fedmsg.d/fedmsg-config.py & `

Messages are published by the relay using TCP on port 9940 via all interfaces.

Next, tail fedmsg: ` $ fedmsg-tail --config fedmsg.d/fedmsg-config.py --no-validate --really-pretty `

Project details


Release history Release notifications

This version
History Node

0.3.0

History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

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
sse2fedmsg-0.3.0.tar.gz (10.8 kB) Copy SHA256 hash SHA256 Source None Nov 13, 2017

Supported by

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