{
  "__type": "IngestedDoc",
  "__tag": 4010,
  "_content": {
    "Notes": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Warns": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Raises": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Yields": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Methods": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Returns": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Summary": {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Search for object in namespaces by wildcard."
            }
          ]
        }
      ],
      "title": [],
      "level": 0,
      "target": null
    },
    "Receives": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Warnings": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Attributes": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Parameters": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Extended Summary": {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "%psearch [options] PATTERN [OBJECT TYPE]"
            }
          ]
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Note: ? can be used as a synonym for %psearch, at the beginning or at the end: both a*? and ?a* are equivalent to '%psearch a*'.  Still, the rest of the command line must be unchanged (options come first), so for example the following forms are equivalent"
            }
          ]
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "%psearch -i a* function -i a* function? ?-i a* function"
            }
          ]
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Arguments:"
            }
          ]
        },
        {
          "__type": "Blockquote",
          "__tag": 4059,
          "children": [
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "PATTERN"
                }
              ]
            },
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "where PATTERN is a string containing * as a wildcard similar to its   use in a shell.  The pattern is matched in all namespaces on the   search path. By default objects starting with a single _ are not   matched, many IPython generated objects have a single   underscore. The default is case insensitive matching. Matching is   also done on the attributes of objects and not only on the objects   in a module."
                }
              ]
            },
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "[OBJECT TYPE]"
                }
              ]
            },
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "Is the name of a python type from the types module. The name is   given in lowercase without the ending type, ex. StringType is   written string. By adding a type here only objects matching the   given type are matched. Using all here makes the pattern match all   types (this is the default)."
                }
              ]
            }
          ]
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Options:"
            }
          ]
        },
        {
          "__type": "Blockquote",
          "__tag": 4059,
          "children": [
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "-a: makes the pattern match even objects whose names start with a   single underscore.  These names are normally omitted from the   search."
                }
              ]
            },
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "-i/-c: make the pattern case insensitive/sensitive.  If neither of   these options are given, the default is read from your configuration   file, with the option "
                },
                {
                  "__type": "InlineCode",
                  "__tag": 4051,
                  "value": "InteractiveShell.wildcards_case_sensitive"
                },
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": ".   If this option is not specified in your configuration file, IPython's   internal default is to do a case sensitive search."
                }
              ]
            },
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "-e/-s NAMESPACE: exclude/search a given namespace.  The pattern you   specify can be searched in any of the following namespaces:   'builtin', 'user', 'user_global','internal', 'alias', where   'builtin' and 'user' are the search defaults.  Note that you should   not use quotes when specifying namespaces."
                }
              ]
            },
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "-l: List all available object types for object matching. This function   can be used without arguments."
                }
              ]
            },
            {
              "__type": "Paragraph",
              "__tag": 4045,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "'Builtin' contains the python module builtin, 'user' contains all   user data, 'alias' only contain the shell aliases and no python   objects, 'internal' contains objects used by IPython.  The   'user_global' namespace is only used by embedded IPython instances,   and it contains module-level globals.  You can add namespaces to the   search with -s or exclude them with -e (these options can be given   more than once)."
                }
              ]
            }
          ]
        }
      ],
      "title": [],
      "level": 0,
      "target": null
    },
    "Other Parameters": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    }
  },
  "_ordered_sections": [
    "Summary",
    "Extended Summary",
    "Parameters",
    "Attributes",
    "Methods",
    "Returns",
    "Yields",
    "Receives",
    "Other Parameters",
    "Raises",
    "Warns",
    "Warnings",
    "Notes"
  ],
  "item_file": "/IPython/core/magics/namespace.py",
  "item_line": 124,
  "item_type": "function",
  "aliases": [
    "IPython.core.magics.NamespaceMagics.psearch"
  ],
  "example_section_data": {
    "__type": "Section",
    "__tag": 4015,
    "children": [
      {
        "__type": "Text",
        "__tag": 4046,
        "value": "::\n\n  %psearch a*            -> objects beginning with an a\n  %psearch -e builtin a* -> objects NOT in the builtin space starting in a\n  %psearch a* function   -> all functions beginning with an a\n  %psearch re.e*         -> objects beginning with an e in module re\n  %psearch r*.e*         -> objects that start with e in modules starting in r\n  %psearch r*.* string   -> all strings in modules beginning with r\n\nCase sensitive search::\n\n  %psearch -c a*         list all object beginning with lower case a\n\nShow objects beginning with a single _::\n\n  %psearch -a _*         list objects beginning with a single underscore\n\nList available objects::\n\n  %psearch -l            list all available object types"
      }
    ],
    "title": [],
    "level": 0,
    "target": null
  },
  "see_also": [],
  "signature": {
    "__type": "SignatureNode",
    "__tag": 4029,
    "kind": "function",
    "parameters": [
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "self",
        "annotation": {
          "__type": "Empty",
          "__tag": 4031
        },
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": {
          "__type": "Empty",
          "__tag": 4031
        }
      },
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "parameter_s",
        "annotation": {
          "__type": "Empty",
          "__tag": 4031
        },
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": ""
      }
    ],
    "return_annotation": {
      "__type": "Empty",
      "__tag": 4031
    },
    "target_name": "psearch"
  },
  "references": null,
  "qa": "IPython.core.magics.namespace:NamespaceMagics.psearch",
  "arbitrary": [],
  "local_refs": []
}