Skip to main content

GRIP library

Project description

Date: April 5th, 2013 Author: Justin Karneges <justin@fanout.io>

GRIP library for Python.

Requirements:

jwt pubcontrol

Sample usage:

import gripcontrol as grip

http_body = grip.create_hold_response(“mychannel”) # django: HttpResponse(http_body, content_type=”application/grip-instruct”)

pub = grip.GripPubControl(”https://api.fanout.io/realm/myrealm”) pub.set_jwt_auth({“iss”: “myrealm”}, “secret”)

pub.publish_http_response(“mychannel”, “stuffn”)

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

gripcontrol-1.1.0.tar.gz (2.8 kB view hashes)

Uploaded Source

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