Skip to main content

This package provides convenient utilities and data to write a sphinx config file.

Project description

Intersphinx Registry

A simple utility package that provide default inter sphinx mapping for a large chunk of the python ecosystem.

Usage in conf.py

from intersphinx_registry import get_intersphinx_mapping

# ...
intersphinx_mapping = get_intersphinx_mapping(
    packages={"ipython", "matplotlib", "pandas", "python"}
)
intersphinx_mapping.update({
    'overwrite': ('<url>', None),
    'my-package' : ('<url>', None),
})

quick lookup

You can use the following to lookup target/webpages of various packages.

Call without arguments to get help:

$ python -m intersphinx_registry.lookup

    Usage: python -m intersphinx_registry.lookup <package>[,package] [search_term]

    Example:

    $ python -m intersphinx_registry.lookup numpy,scipy array
    $ python -m intersphinx_registry.lookup ipython formatters.html

You can search multiple packages as once.

$ python -m intersphinx_registry.lookup numpy,scipy Universal
std:label ufuncs                             NumPy 2.1    'Universal functions (ufunc)'                         https://numpy.org/doc/stable/reference/ufuncs.html#ufuncs
std:label ufuncs-basics                      NumPy 2.1    'Universal functions (ufunc) basics'                  https://numpy.org/doc/stable/user/basics.ufuncs.html#ufuncs-basics
std:label ufuncs-internals                   NumPy 2.1    'Universal functions'                                 https://numpy.org/doc/stable/dev/internals.code-explanations.html#ufuncs-internals
std:doc   reference/ufuncs                   NumPy 2.1    'Universal functions (ufunc)'                         https://numpy.org/doc/stable/reference/ufuncs.html
std:doc   user/basics.ufuncs                 NumPy 2.1    'Universal functions (ufunc) basics'                  https://numpy.org/doc/stable/user/basics.ufuncs.html
std:label non-uniform-random-number-sampling SciPy 1.14.1 'Universal Non-Uniform Random Number Sampling in SciPy' https://docs.scipy.org/doc/scipy/tutorial/stats/sampling.html#non-uniform-random-number-sampling
std:doc   tutorial/stats/sampling            SciPy 1.14.1 'Universal Non-Uniform Random Number Sampling in SciPy' https://docs.scipy.org/doc/scipy/tutorial/stats/sampling.html

Warning, there is no cache, it downloads the inventory of each mentioned package every time.

Why ?

Sometime packages docs move and it's hard to keep track of. We try to keep the registry up to date, so yo do not have to ask yourself questions and update your intersphinx-mapping.

You also might not want to think about adding intersphinx mapping when you refer to dependencies.

A package url is wrong !

Please send a PR updating only this package in the registry.json. We try to link only to stable package, not dev versions.

A package is missing !

We can't do all packages, but if you think a package is widely used and missing, please send a PR.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intersphinx_registry-0.2510.17.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intersphinx_registry-0.2510.17-py2.py3-none-any.whl (9.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file intersphinx_registry-0.2510.17.tar.gz.

File metadata

  • Download URL: intersphinx_registry-0.2510.17.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for intersphinx_registry-0.2510.17.tar.gz
Algorithm Hash digest
SHA256 448e710d023a717ea8d227ebf5f0834c7c31d357846b2b2397d2b8c50e65fc83
MD5 0ac922c1be09d2eee1f9bb221e013804
BLAKE2b-256 084f2a200964d7589dcc26eff4e6d188716654e9cd94592d78bc89b135bd56b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for intersphinx_registry-0.2510.17.tar.gz:

Publisher: publish.yml on Quansight-Labs/intersphinx_registry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file intersphinx_registry-0.2510.17-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for intersphinx_registry-0.2510.17-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 efb6a8b0458d0a7c4795cddb51dffdef39307ca6a94d32e624d87c6516d2fbf5
MD5 fdb141e583e4fba2a929db66773ec3b4
BLAKE2b-256 a0146bdcdace81093ec5a8d0fcc3a77ebdda5fc769e864aa3a1bffc34001968d

See more details on using hashes here.

Provenance

The following attestation bundles were made for intersphinx_registry-0.2510.17-py2.py3-none-any.whl:

Publisher: publish.yml on Quansight-Labs/intersphinx_registry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page