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 & `

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.1.1.tar.gz (10.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for sse2fedmsg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b99514d02f810deebeceda358e123ce599e912cb3bea3b159ce9ec0e5fa83be2
MD5 93b0002370af25cd1f3e538dfcb9bfa7
BLAKE2b-256 1ccf0eac52b6d85689ec9d42af41f611eb3c6221e4b1ce9cdadab8e93a1df498

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page