Cloud Pub/Sub sample applications with Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Cloud Pub/Sub samples for Python

Overview

This repository contains several samples for Cloud Pub/Sub service with Python.

  • appengine-push

    A sample for push subscription running on Google App Engine.

  • cmdline-pull

    A command line sample for pull subscription.

  • gce-cmdline-publisher

    A Python command-line script that publishes to a topic using data from a large traffic sensor dataset.

Run tests

Here are instructions to run the tests. You need a cloud project with Cloud Pub/Sub enabled.

$ pip install tox
$ export GOOGLE_APPLICATION_CREDENTIALS=your-service-account-json-file
$ export TEST_PROJECT_ID={YOUR_PROJECT_ID}
$ tox

Licensing

See LICENSE