tessl install tessl/pypi-ipython@9.5.0IPython: Productive Interactive Computing - An advanced interactive computing environment and command shell for Python.
Agent Success
Agent success rate when using this tile
86%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.09x
Baseline
Agent success rate without this tile
79%
A command-line utility that provides detailed inspection capabilities for Python objects, including functions, classes, and modules.
list, dict), retrieve and display its docstring and available methods @test@generates
def inspect_object(obj):
"""
Inspects a Python object and returns detailed information about it.
Args:
obj: Any Python object (function, class, module, built-in, etc.)
Returns:
dict: A dictionary containing:
- 'name': The name of the object
- 'type': The type of the object as a string
- 'docstring': The object's docstring (if available)
- 'signature': Function/method signature (if applicable)
- 'methods': List of method names (for classes)
"""
pass
def get_source_code(obj):
"""
Retrieves the source code for a Python object.
Args:
obj: A Python object (function, class, or method)
Returns:
str: The source code as a string, or an error message if unavailable
"""
passProvides advanced object introspection capabilities for Python objects.
@satisfied-by