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.

Source Distribution

rio-client-0.3.0.tar.gz (13.6 kB view hashes)

Uploaded Source

Built Distribution

rio_client-0.3.0-py2.py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 2 Python 3

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