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.2411.25.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

intersphinx_registry-0.2411.25-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for intersphinx_registry-0.2411.25.tar.gz
Algorithm Hash digest
SHA256 13a7eb9f85504f41c15722b9ccb22390b9cdfb14991cfe4224183cc67d2203a2
MD5 2f81a20c2c4e551a202d8004504d6a9d
BLAKE2b-256 4a0e299edd1f86f6a6009c73ef596774c0f7ef018b4e94b849eab6abbce41958

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on Quansight-Labs/intersphinx_registry

Attestations:

File details

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

File metadata

File hashes

Hashes for intersphinx_registry-0.2411.25-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7417090f2b312a5a23717d8685f047a1148ae9345d1b1843c80c299d66220a76
MD5 7d8712dcf1bc8a81114246071e9e12b6
BLAKE2b-256 bd92f575585b7c43fc7fa22eda1987f70d12e268a19603b1433054cddcf5705a

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on Quansight-Labs/intersphinx_registry

Attestations:

Supported by

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