AutoNmapModuleWrapper#

class penzai.toolshed.auto_nmap.AutoNmapModuleWrapper[source]#

Bases: object

Wrapper for a module that automatically applies nmap to callables.

Variables:

_module (types.ModuleType) – The module to wrap.

Methods

__init__(_module)

__getattr__(name: str)[source]#

Retrieves and wraps an attribute of the underlying module.

Parameters:

name – The attribute name to retrieve.

Returns:

Either an AutoNmapModuleWrapper or a nmap-ped callable, depending on the type of object retrieved from the original module.