Skip to main content

Client for Rio.

Project description

rio-client

Example:

In [1]: from rio_client import *

In [2]: client = Client('http://mysender:replace-token@rio.intra.yourcorp.com/1/myproject')

In [3]: client.emit('post-comment-published', {'content':'Spam','content_id':1})
Out[3]:
{'event_uuid': u'966812c3-6f2f-4155-a733-5054f75265f1',
 'is_success': True,
  'message': u'ok',
   'task_id': u'81ca44c4-cbf6-43eb-ab39-c26159d7379f'}

HISTORY

0.2.2

  • typofix for flask extentions.

0.2.1

  • bugfix for wrong flask conf item.

0.2.0

  • add flask contrib
  • add scrapy contrib

0.1.2

  • bugfix for rio dsn parser

0.1.1

  • add extra option for client

0.1.0

  • initial release

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 rio-client, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size rio_client-0.3.0-py2.py3-none-any.whl (10.2 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size rio-client-0.3.0.tar.gz (13.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page