pantheon-systems/pubsub-python

Name: pubsub-python

Owner: Pantheon

Description: Light wrappers around google pubsub python client and useful ETL classes

Created: 2016-05-10 01:24:05.0

Updated: 2017-03-01 20:09:14.0

Pushed: 2017-02-27 23:27:14.0

Homepage: null

Size: 45

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

THIS IS DEPRECATED. Work has moved to https://github.com/pantheon-systems/etl-framework

pubsub-python

Contains light wrappers around google's pubsub-client and useful classes for using with etl-framework

Example of script of reading messages from Pubsub

3]: from pubsub.PubsubSubscriber import PubsubSubscriber

4]: x = PubsubSubscriber(topic_name="support", project_name="pantheon-dev", 
..: subscription_name="support-management-dev")

5]: x.pull(auto_ack=False)

TODO:

The pubsub_etl module also requires pantheon-systems/etl-framework to work. It's not specified in setup.py yet


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.