Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 789 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 789 Bytes

Crispy

Functions for personal use







Examples

Notebook examples using this repo are in /examples folder.





Default Logger

This module have a default logger, you can add a file handler to the logger as the following:

import crispy as csp
csp.logger.addHandler(csp.make_file_handler("path/log_file.log"))

Play audio when exceptions are occurred

Tested in jupyter lab

get_ipython().set_custom_exc((Exception,), csp.exception_sound(csp.logger)) # Exception sound alert



Any feedbacks will be appreciated

Any advices or feedbacks would be helpful.