This is a development version (latest) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / oinspect / Inspector / psearch

function

IPython.core.oinspect:Inspector.psearch

source: /IPython/core/oinspect.py:1090

Signature

def psearch(self, pattern, ns_table, ns_search = [], ignore_case = False, show_all = False, *, list_types = False)

Summary

Search namespaces with wildcards for objects.

Extended Summary

Arguments:

  • pattern: string containing shell-like wildcards to use in namespace searches and optionally a type specification to narrow the search to objects of that type.

  • ns_table: dict of name->namespaces for search.

Optional arguments:

  • ns_search: list of namespace names to include in search.

  • ignore_case(False): make the search case-insensitive.

  • show_all(False): show all names, including those starting with underscores.

  • list_types(False): list all available object types for object matching.

Aliases

  • IPython.core.oinspect.Inspector.psearch