{ "info": { "author": "Tim Aylott", "author_email": "tsa29@bath.ac.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "Tiny Crash Reporter\n====================\n\nThis library is designed to print any crashes which a Python program encounters when it is run to standard out. \n\nInstall:\npip install TinyCrashReporter\n\nSetup: \n1. Import the library into your program.\n2. Add the line -> sys.excepthook = tinycrashreporter.crashReportExceptHook <- bellow oyu imports.\n3. Run your program in the command line e.g. Python3 ~/PythonFiles/MyTinyCrashReporterProgram.py\n\nWarning: IDLE and other IDE's appear to use the same method override as Tiny Crash Reporter and are not currently supported. Please run in a command line instead.\n\nExample:\nAdd the following lines of code into a blank python file.\n#!/usr/bin/env python\n# set up tiny crash reporter:\nimport sys\n\nimport (...any_other_module...)\n\nimport tinycrashreporter\n\n\nsys.excepthook = tinycrashreporter.crashReportExceptHook\n\n\n# Add some crashy code \n\n1/0\n\nBlank file:\n\nA blank file, which includes the code above and conforms to the specification has been included LibraryLocation/Samples/ImportedLibraryOnly.py\n\nIn teminal run -> python3 ImportedLibraryOnly.py\nThe library also works in python 2.7.\n\nFile with options:\n\nA file called CrashyProgram.py has also been set up which supports the execution of code passed as an argument. This is for testing purposes and this code should not be published as part of a release project due to it's inherent insecurities.\n\nIn terminal run -> python3 CrashyProgram.py\n\nUnit tests:\n\n8 Tests are available in LibraryLocation/CrashTest.py to run these, manually edit the file path in CrashTest.py to point to CrashyProgram.py. Then...\n\nIn terminal run -> python3 ~/SampleLocation/CrashTest.py -v\n\nOne of the tests requests user to input some crashy code. This facility doesn't work with \" or ' characters and the inclusion of some other special characters may cause similar errors. More work is needed to properly escape the input.\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tim81cortes/", "keywords": "crash report", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "tiny_crash_reporter", "package_url": "https://pypi.org/project/tiny_crash_reporter/", "platform": "", "project_url": "https://pypi.org/project/tiny_crash_reporter/", "project_urls": { "Homepage": "https://github.com/tim81cortes/" }, "release_url": "https://pypi.org/project/tiny_crash_reporter/0.4/", "requires_dist": null, "requires_python": "", "summary": "A Python library to log any exceptions to standard out.", "version": "0.4" }, "last_serial": 2903371, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "31d8f981e55011d4be679f579ce45102", "sha256": "228102747bf7c69ada72f2699eb26189e0f048225cb1a68cf55a7c188f193874" }, "downloads": -1, "filename": "tiny_crash_reporter-0.1.tar.gz", "has_sig": false, "md5_digest": "31d8f981e55011d4be679f579ce45102", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3694, "upload_time": "2017-05-27T13:40:11", "url": "https://files.pythonhosted.org/packages/07/73/49556c98c559037ada69b5da2bc899b1e05c3958bc3579979f76a08d3748/tiny_crash_reporter-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "85e8763ee01a1b97d67e215c1781cffb", "sha256": "19355885f4f16b4019c1cc39d8c57a9fbc09a22083f741008c9218013dadff31" }, "downloads": -1, "filename": "tiny_crash_reporter-0.2.tar.gz", "has_sig": false, "md5_digest": "85e8763ee01a1b97d67e215c1781cffb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3843, "upload_time": "2017-05-27T13:57:45", "url": "https://files.pythonhosted.org/packages/79/e5/6fb70a6be9e6d69aa75bae439fd6bfb268528bea79efb9adf53213ef54ac/tiny_crash_reporter-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "d9791dd040113feec5cbb1f610e64839", "sha256": "a634a208e7421d1d2620890caada54bfb7b2986d5643b0c48dbb163b5ba74f34" }, "downloads": -1, "filename": "tiny_crash_reporter-0.3.tar.gz", "has_sig": false, "md5_digest": "d9791dd040113feec5cbb1f610e64839", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3851, "upload_time": "2017-05-27T14:00:00", "url": "https://files.pythonhosted.org/packages/f2/9e/549d0878975b1050f6b059616bd06283fc6410215efbb0ba317f64165d01/tiny_crash_reporter-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "2fac5caa6ee2d26b4a065c5fb5ae57df", "sha256": "e5ac0d452baf0bdfee31930f9018bfce519431e915e7e294a21af6c9e5e9ecb5" }, "downloads": -1, "filename": "tiny_crash_reporter-0.4.tar.gz", "has_sig": false, "md5_digest": "2fac5caa6ee2d26b4a065c5fb5ae57df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6592, "upload_time": "2017-05-27T14:27:31", "url": "https://files.pythonhosted.org/packages/e4/4b/b09f0ae88f491a7b385dc7cffdda14f84aafe8c3897d3b6e8b0e4d4e38a6/tiny_crash_reporter-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2fac5caa6ee2d26b4a065c5fb5ae57df", "sha256": "e5ac0d452baf0bdfee31930f9018bfce519431e915e7e294a21af6c9e5e9ecb5" }, "downloads": -1, "filename": "tiny_crash_reporter-0.4.tar.gz", "has_sig": false, "md5_digest": "2fac5caa6ee2d26b4a065c5fb5ae57df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6592, "upload_time": "2017-05-27T14:27:31", "url": "https://files.pythonhosted.org/packages/e4/4b/b09f0ae88f491a7b385dc7cffdda14f84aafe8c3897d3b6e8b0e4d4e38a6/tiny_crash_reporter-0.4.tar.gz" } ] }