pyratchet

Ratchet.io generic Python library
Download

pyratchet Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Brian Rue
  • Publisher web site:
  • http://github.com/brianr/

pyratchet Tags


pyratchet Description

pyratchet is a generic Python library for reporting exceptions and other messages to Ratchet.io.InstallationInstall using pip:pip install ratchetConfigurationSomewhere in your initialization code, call ratchet.init() with your access_token:ratchet.init('YOUR_ACCESS_TOKEN_HERE', environment='production')Other options can be passed as keyword arguments. See the reference below for all options.UsageCall pyratchet.report_exc_info() to report an exception, or pyratchet.report_message() to report an arbitrary string message. See the docstrings for more info.Configuration referenceaccess_token Access token from your Ratchet.io projecthandler One of:- blocking -- runs in main thread- thread -- spawns a new thread default: threadenvironment Environment name. Any string up to 255 chars is OK. For best results, use "production" for your production environment.root Absolute path to the root of your application, not including the final /.branch Name of the checked-out branch. default: masterendpoint URL items are posted to. default: https://submit.ratchet.io/api/1/item/ContributingContributions are welcome. The project is hosted on github at http://github.com/ratchetio/pyratchetProduct's homepage


pyratchet Related Software