Language Features

PyPyclbr

Python stdlib module — pyclbr. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.readmodule()Neutral
#
Signature
readmodule(module, path)

Return Class objects for the top-level classes in module.

.readmodule_ex()Neutral
#
Signature
readmodule_ex(module, path)

Return a dictionary with all functions and classes in module.

.Class()Neutral
#
Signature
Class(...)

Information about a Python class.

.Function()Neutral
#
Signature
Function(...)

Information about a Python function, including methods.

Fully-Qualified Names

FQNField
pyclbrfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import pyclbr