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


Download files

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

Source Distribution

sse2fedmsg-0.3.0.tar.gz (10.8 kB view details)

Uploaded Source

File details

Details for the file sse2fedmsg-0.3.0.tar.gz.

File metadata

  • Download URL: sse2fedmsg-0.3.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sse2fedmsg-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4cc39e79dc3f7358a3735dd7e297dea9030617735d238f84a1dccf93991e1e10
MD5 9e5db20fba1622db921f73bfc4c398aa
BLAKE2b-256 b523c3a4243f961666f3a9cabd031510d98c0ab2364a9bbd86922fc2388724c4

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