{"id":21462,"library":"intersphinx-registry","title":"intersphinx-registry","description":"Provides utilities and mapping data for Sphinx intersphinx inventory URLs, enabling cross-referencing across documentation of popular Python libraries. Version 0.2605.27 has a release-per-commit cadence.","status":"active","version":"0.2605.27","language":"python","source_language":"en","source_url":"https://github.com/jarrodmillman/intersphinx-registry","tags":["sphinx","documentation","intersphinx","cross-reference"],"install":[{"cmd":"pip install intersphinx-registry","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required for intersphinx configuration.","package":"sphinx","optional":false}],"imports":[{"note":"","wrong":"","symbol":"get_intersphinx_mapping","correct":"from intersphinx_registry import get_intersphinx_mapping"}],"quickstart":{"code":"from intersphinx_registry import get_intersphinx_mapping\n\nmapping = get_intersphinx_mapping(\n    packages=['python', 'numpy', 'scipy', 'matplotlib']\n)\n# Use mapping in Sphinx conf.py:\n# intersphinx_mapping = mapping","lang":"python","description":"Get intersphinx mapping for common packages."},"warnings":[{"fix":"Check the registry source for supported names: https://github.com/jarrodmillman/intersphinx-registry/blob/main/src/intersphinx_registry/data/objects.json","message":"Package names in get_intersphinx_mapping must match exactly the keys in the internal registry (e.g., 'python', 'numpy'). Abbreviated or incorrect names will silently return an empty mapping.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to >=0.2605.27 and verify your intersphinx mappings.","message":"Version 0.2605 introduced a new JSON-based data source. Older versions used a different format. If you were using intersphinx_registry before this version, your mappings may break or change.","severity":"breaking","affected_versions":"<0.2605"},{"fix":"Use dict items directly; no need to convert.","message":"The function get_intersphinx_mapping() returns a dict now, not a list of tuples. Some users may rely on the old format.","severity":"deprecated","affected_versions":"<0.2605"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Upgrade: pip install --upgrade intersphinx-registry","cause":"Installed a very old version of intersphinx-registry that did not have this function.","error":"AttributeError: module 'intersphinx_registry' has no attribute 'get_intersphinx_mapping'"},{"fix":"Check the list of supported packages: from intersphinx_registry import get_intersphinx_mapping; print(get_intersphinx_mapping().__len__()) or inspect the JSON file.","cause":"Using a package name not in the registry.","error":"KeyError: 'numpy'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}