{"library":"sphobjinv","title":"sphobjinv","type":"library","description":"Sphinx objects.inv Inspection/Manipulation Tool. Version 2.4 (requires Python >=3.10). Enables introspection and modification of Sphinx inventories, including conversion to/from JSON, HTML, and Text. Last release: v2.4 (2025-04-01). Release cadence: irregular.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install sphobjinv"],"cli":{"name":"sphobjinv","version":""}},"imports":["from sphobjinv import Inventory","from sphobjinv import DataObjStr"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/bskinn/sphobjinv","docs":"https://sphobjinv.readthedocs.io/en/stable/","changelog":"https://github.com/bskinn/sphobjinv/blob/main/CHANGELOG.md","pypi":"https://pypi.org/project/sphobjinv/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from sphobjinv import Inventory\n\n# Load a remote inventory (e.g., from Python docs)\nurl = \"https://docs.python.org/3/objects.inv\"\ninv = Inventory(url=url)\nprint(f\"Loaded {len(inv.objects)} objects from {inv.project}\")\n\n# Convert to JSON and print first object\ndata = inv.json()\nprint(data[:100])","lang":"python","description":"Quick example: load a remote Sphinx objects.inv and inspect it.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}