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.

Filename, size & hash SHA256 hash help File type Python version Upload date
rio_client-0.3.0-py2.py3-none-any.whl (10.2 kB) Copy SHA256 hash SHA256 Wheel 2.7
rio-client-0.3.0.tar.gz (13.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page