{"id":15436326,"url":"https://github.com/zigai/objinspect","last_synced_at":"2026-01-17T07:41:26.598Z","repository":{"id":65147706,"uuid":"537892839","full_name":"zigai/objinspect","owner":"zigai","description":"A high-level library for Python object inspection","archived":false,"fork":false,"pushed_at":"2025-02-14T09:57:03.000Z","size":137,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T19:05:28.562Z","etag":null,"topics":["function-signature","inspect-type-hints","introspection","metaprogramming","object-inspection","python","python-inspect"],"latest_commit_sha":null,"homepage":"https://objinspect.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zigai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-17T18:11:32.000Z","updated_at":"2025-02-14T00:12:21.000Z","dependencies_parsed_at":"2023-11-09T15:27:33.717Z","dependency_job_id":"babbdbab-1eec-4c9a-907b-190c183abe44","html_url":"https://github.com/zigai/objinspect","commit_stats":{"total_commits":119,"total_committers":2,"mean_commits":59.5,"dds":0.008403361344537785,"last_synced_commit":"e0d4f852797be6d330ac0e3219e6e144f0317a89"},"previous_names":["zigai/obj-inspect"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fobjinspect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fobjinspect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fobjinspect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fobjinspect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigai","download_url":"https://codeload.github.com/zigai/objinspect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249762351,"owners_count":21321914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["function-signature","inspect-type-hints","introspection","metaprogramming","object-inspection","python","python-inspect"],"created_at":"2024-10-01T18:49:56.474Z","updated_at":"2026-01-17T07:41:26.576Z","avatar_url":"https://github.com/zigai.png","language":"Python","readme":"# objinspect\r\n\r\n[![Tests](https://github.com/zigai/objinspect/actions/workflows/tests.yml/badge.svg)](https://github.com/zigai/objinspect/actions/workflows/tests.yml)\r\n[![Documentation Status](https://readthedocs.org/projects/objinspect/badge/?version=latest)](https://objinspect.readthedocs.io/en/latest/?badge=latest)\r\n[![PyPI version](https://badge.fury.io/py/objinspect.svg)](https://badge.fury.io/py/objinspect)\r\n![Supported versions](https://img.shields.io/badge/python-3.10+-blue.svg)\r\n[![Downloads](https://static.pepy.tech/badge/objinspect/month)](https://pepy.tech/project/objinspect)\r\n[![Downloads](https://static.pepy.tech/badge/objinspect)](https://pepy.tech/project/objinspect)\r\n[![license](https://img.shields.io/github/license/zigai/objinspect.svg)](https://github.com/zigai/objinspect/blob/main/LICENSE)\r\n\r\n`objinspect` is a high-level wrapper around Python's built-in `inspect` module.\r\nIt provides a simple interface for examining Python functions and classes.\r\n\r\n## Features\r\n\r\n- Simplified inspection of Python objects (classes, functions, methods)\r\n- Detailed information about parameters, return types, and docstrings\r\n- prettydir - like dir(), but with more information and prettier output\r\n\r\n## Installation\r\n\r\n### From PyPi\r\n\r\n```sh\r\npip install objinspect\r\n```\r\n\r\n### From source\r\n\r\n```sh\r\npip install git+https://github.com/zigai/objinspect\r\n```\r\n\r\n## Examples\r\n\r\n```python\r\n\u003e\u003e\u003e from objinspect import inspect\r\n\u003e\u003e\u003e import math\r\n\u003e\u003e\u003e inspect(math.pow)\r\nFunction(name='pow', parameters=2, description='Return x**y (x to the power of y).')\r\n\r\n\u003e\u003e\u003e inspect(math.pow).dict\r\n{\r\n   'name': 'pow',\r\n   'parameters': [\r\n      {'name': 'x', 'kind': \u003c_ParameterKind.POSITIONAL_ONLY: 0\u003e, 'type': \u003cclass 'inspect._empty'\u003e, 'default': \u003cclass 'inspect._empty'\u003e, 'description': None},\r\n      {'name': 'y', 'kind': \u003c_ParameterKind.POSITIONAL_ONLY: 0\u003e, 'type': \u003cclass 'inspect._empty'\u003e, 'default': \u003cclass 'inspect._empty'\u003e, 'description': None}],\r\n   'docstring': 'Return x**y (x to the power of y).'\r\n}\r\n\r\n\u003e\u003e\u003e inspect(inspect)\nFunction(name='inspect', parameters=8, description='Inspects an object and returns a structured representation of its attributes and methods.')\n```\n\r\n### prettydir\r\n\r\n![image](https://github.com/zigai/objinspect/assets/69588680/e1adcf90-0ef3-49e4-8804-a662f6388475)\r\n\r\n## License\r\n\r\n[MIT License](https://github.com/zigai/obj-inspect/blob/master/LICENSE)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigai%2Fobjinspect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigai%2Fobjinspect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigai%2Fobjinspect/lists"}