py_inspect
Inspect a Python object in the project’s installed interpreter to get its signature, docstring, members, source location, and distribution version for exact API verification.
Instructions
Inspect a Python object as installed in the project's own interpreter: signature, docstring, members (for modules/classes), defining file:line and the installed distribution version. target is a dotted path such as 'requests.Session.request' or 'pandas.DataFrame.merge'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| max_members | No | ||
| project_dir | No | ||
| include_project | No | also import from the project's ./src and ./ |