BugBook

Collects the know bugs

class BugBook[source]

BugBook(**kwargs) :: dict

A collection of bugs, and how to handle them

Filter Error Rules

module_not_found_message1[source]

module_not_found_message1(etype, evalue, tb)

module_not_found_message2[source]

module_not_found_message2(etype, evalue, tb)

module_not_found_error_filter[source]

module_not_found_error_filter(etype, evalue, tb)

Assign filter to configuration

render_download_button[source]

render_download_button(bytes_data:bytes, filename:str, description:str='Download', color:str='default')

Loads data from buffer into base64 payload embedded into a HTML button. Recommended for small files only.

bytes_data: open file object ready for reading. A file like object with a read method. filename: str The name when it is downloaded. description: str The text that goes into the button.

custom_exc[source]

custom_exc(shell, etype, evalue, tb, tb_offset=None)

A customize exception method That we can assign to the ishell kernel Arguments follow the format of default exeception function

Assign our customized funtion