Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/podshot/pyclark
Remote error reporting and logging for Python that saves the day (Working title and description)
https://github.com/podshot/pyclark
Last synced: 1 day ago
JSON representation
Remote error reporting and logging for Python that saves the day (Working title and description)
- Host: GitHub
- URL: https://github.com/podshot/pyclark
- Owner: Podshot
- License: lgpl-3.0
- Created: 2018-03-29T05:59:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-17T17:06:25.000Z (over 6 years ago)
- Last Synced: 2024-08-09T06:07:09.414Z (3 months ago)
- Language: Python
- Size: 31.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyClark
Remote error reporting that helps save the day## Goals
Create an efficient error/log reporting package that reports anonymized data back to a self-hosted
web portal (will be included at a later date, working title: Kent) for better debugging. This is aimed
more for distributed applications than a website/service.## Requirements
- requests## Usage
```python
import traceback
import pyClarkclark = pyClark.Clark('http://127.0.0.1')
try:
raise NotImplementedError()
except Exception as e:
report_id = clark.report(e, locals=locals(), globals=globals()) # Reports the full stacktrace plus optional serialized local/global variables
traceback.print_exc()
print "Your report ID is: ", report_id # A Unique ID is generated server-side for users to match their error reports if they self-report the error as well
```