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.

Files for gripcontrol, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size gripcontrol-1.1.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page