google / picatrix

Picatrix is a library designed to help security analysts in a notebook environment, such as colab or jupyter.
Apache License 2.0
48 stars 17 forks source link

Add Picatrix namespaces #46

Closed mariuszlitwin closed 3 years ago

mariuszlitwin commented 3 years ago

After this change new Picatrix feature can be registered using picatrix.new_namespace function.

After registration new subnamespaces will be created in picatrix.px (functionalities) and picatrix.lib.ctx (runtime parameters or open clients) singletons. Those can be later used by end-user for feature discovery, e.g. picatrix.px.search("timesketch").

Magics can be registered using picatrix.new_line_magic and picatrix.new_cell_magic. They will be registered in Picatrix and added to picatrix.px.magic namespace.