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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file intersphinx_registry-0.2411.25.tar.gz
.
File metadata
- Download URL: intersphinx_registry-0.2411.25.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13a7eb9f85504f41c15722b9ccb22390b9cdfb14991cfe4224183cc67d2203a2 |
|
MD5 | 2f81a20c2c4e551a202d8004504d6a9d |
|
BLAKE2b-256 | 4a0e299edd1f86f6a6009c73ef596774c0f7ef018b4e94b849eab6abbce41958 |
Provenance
The following attestation bundles were made for intersphinx_registry-0.2411.25.tar.gz
:
Publisher:
publish.yml
on Quansight-Labs/intersphinx_registry
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
intersphinx_registry-0.2411.25.tar.gz
- Subject digest:
13a7eb9f85504f41c15722b9ccb22390b9cdfb14991cfe4224183cc67d2203a2
- Sigstore transparency entry: 151351950
- Sigstore integration time:
- Predicate type:
File details
Details for the file intersphinx_registry-0.2411.25-py2.py3-none-any.whl
.
File metadata
- Download URL: intersphinx_registry-0.2411.25-py2.py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7417090f2b312a5a23717d8685f047a1148ae9345d1b1843c80c299d66220a76 |
|
MD5 | 7d8712dcf1bc8a81114246071e9e12b6 |
|
BLAKE2b-256 | bd92f575585b7c43fc7fa22eda1987f70d12e268a19603b1433054cddcf5705a |
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
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
intersphinx_registry-0.2411.25-py2.py3-none-any.whl
- Subject digest:
7417090f2b312a5a23717d8685f047a1148ae9345d1b1843c80c299d66220a76
- Sigstore transparency entry: 151351952
- Sigstore integration time:
- Predicate type: