intersphinx-registry 0.2411.13__py2.py3-none-any.whl → 0.2411.25__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- intersphinx_registry/__init__.py +1 -1
- intersphinx_registry/_info.py +80 -0
- intersphinx_registry/lookup.py +62 -9
- intersphinx_registry/registry.json +19 -37
- intersphinx_registry-0.2411.25.dist-info/METADATA +87 -0
- intersphinx_registry-0.2411.25.dist-info/RECORD +9 -0
- intersphinx_registry-0.2411.13.dist-info/METADATA +0 -69
- intersphinx_registry-0.2411.13.dist-info/RECORD +0 -8
- {intersphinx_registry-0.2411.13.dist-info → intersphinx_registry-0.2411.25.dist-info}/LICENSE +0 -0
- {intersphinx_registry-0.2411.13.dist-info → intersphinx_registry-0.2411.25.dist-info}/WHEEL +0 -0
intersphinx_registry/__init__.py
CHANGED
|
@@ -11,7 +11,7 @@ from typing import Dict, Tuple, Set, Optional, cast
|
|
|
11
11
|
# See issue 4, we this the best format is Major.YYMM.day,
|
|
12
12
|
# in case of multiple releases a day we can borrow the next day's date.
|
|
13
13
|
# no 0 in front of the day as it is not pep440 compliant.
|
|
14
|
-
__version__ = "0.2411.
|
|
14
|
+
__version__ = "0.2411.25"
|
|
15
15
|
|
|
16
16
|
registry_file = Path(__file__).parent / "registry.json"
|
|
17
17
|
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Experimental, print info about all (or a subset of), all the known inventories.
|
|
3
|
+
|
|
4
|
+
As this is likely to make _many_ concurrent connections;
|
|
5
|
+
we use aoihttp and sphobjinv which are not listed as dependencies.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import asyncio
|
|
9
|
+
import sys
|
|
10
|
+
from urllib.parse import urljoin
|
|
11
|
+
|
|
12
|
+
import aiohttp
|
|
13
|
+
from sphobjinv import Inventory # type: ignore
|
|
14
|
+
|
|
15
|
+
from intersphinx_registry import get_intersphinx_mapping
|
|
16
|
+
|
|
17
|
+
if len(sys.argv) not in [2, 3]:
|
|
18
|
+
sys.exit(
|
|
19
|
+
"""Usage: python -m intersphinx_registry._info <package>[,package|:all]
|
|
20
|
+
|
|
21
|
+
This prints debug info about registered package.
|
|
22
|
+
|
|
23
|
+
WARNING: :all: will query _all_ the domains; this can be considered
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
packages = set(sys.argv[1].split(","))
|
|
29
|
+
if packages == {":all:"}:
|
|
30
|
+
from intersphinx_registry import _get_all_mappings
|
|
31
|
+
|
|
32
|
+
packages = set(list(_get_all_mappings().keys()))
|
|
33
|
+
|
|
34
|
+
print("Looking up metadata for", len(packages), "package")
|
|
35
|
+
|
|
36
|
+
# there will be only one url
|
|
37
|
+
urls = [
|
|
38
|
+
(k, u[0], (u[1] if u[1] else "objects.inv"))
|
|
39
|
+
for k, u in get_intersphinx_mapping(packages=packages).items()
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
async def fetch(session, key, base_url, obj):
|
|
44
|
+
final_url = urljoin(base_url, obj)
|
|
45
|
+
if obj != "objects.inv":
|
|
46
|
+
print("Obj for ", base_url, obj)
|
|
47
|
+
async with session.get(final_url) as response:
|
|
48
|
+
return key, base_url, await response.read()
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
async def fetch_all(urls):
|
|
52
|
+
async with aiohttp.ClientSession() as session:
|
|
53
|
+
tasks = [fetch(session, *url) for url in urls]
|
|
54
|
+
return await asyncio.gather(*tasks)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
results = asyncio.run(fetch_all(urls))
|
|
58
|
+
|
|
59
|
+
flattened = []
|
|
60
|
+
for key, base_url, data in results:
|
|
61
|
+
try:
|
|
62
|
+
inv = Inventory(zlib=data)
|
|
63
|
+
except Exception:
|
|
64
|
+
print("ERROR with", key, base_url, file=sys.stderr)
|
|
65
|
+
continue
|
|
66
|
+
flattened.append((key, base_url, inv.project, inv.version, inv.count))
|
|
67
|
+
|
|
68
|
+
if not flattened:
|
|
69
|
+
sys.exit("Could not reach any pacakges")
|
|
70
|
+
width = [len(x) for x in flattened[0][:-1]]
|
|
71
|
+
|
|
72
|
+
for item in flattened:
|
|
73
|
+
width = [max(w, len(x)) for w, x in zip(width, item[:-1])]
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
for key, url, proj, version, count in flattened:
|
|
77
|
+
w_key, w_url, w_proj, w_version = width
|
|
78
|
+
print(
|
|
79
|
+
f"{key:<{w_key}} {proj!r:<{w_proj+2}} {version:<{w_version}} {count:<5} {url:<{w_url}}"
|
|
80
|
+
)
|
intersphinx_registry/lookup.py
CHANGED
|
@@ -1,21 +1,74 @@
|
|
|
1
1
|
import sys
|
|
2
2
|
|
|
3
|
-
from
|
|
4
|
-
import logging as _logging
|
|
5
|
-
from sphinx.ext.intersphinx import inspect_main
|
|
3
|
+
from . import get_intersphinx_mapping
|
|
6
4
|
from urllib.parse import urljoin
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
sys.exit("Usage: python -m intersphinx_registry.lookup <package>")
|
|
6
|
+
from typing import Optional
|
|
10
7
|
|
|
11
|
-
|
|
8
|
+
from sphinx.util.inventory import InventoryFile
|
|
9
|
+
from io import BytesIO
|
|
10
|
+
|
|
11
|
+
import requests
|
|
12
|
+
|
|
13
|
+
if len(sys.argv) not in [2, 3]:
|
|
14
|
+
sys.exit(
|
|
15
|
+
"""Usage: python -m intersphinx_registry.lookup <package>[,package] [search_term]
|
|
16
|
+
|
|
17
|
+
Example:
|
|
18
|
+
|
|
19
|
+
$ python -m intersphinx_registry.lookup numpy,scipy array
|
|
20
|
+
$ python -m intersphinx_registry.lookup ipython formatters.html
|
|
21
|
+
|
|
22
|
+
"""
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
packages = set(sys.argv[1].split(","))
|
|
26
|
+
|
|
27
|
+
search_term: Optional[str]
|
|
28
|
+
if len(sys.argv) == 3:
|
|
29
|
+
search_term = sys.argv[2]
|
|
30
|
+
else:
|
|
31
|
+
search_term = None
|
|
12
32
|
|
|
13
33
|
# there will be only one url
|
|
14
34
|
urls = [
|
|
15
|
-
|
|
35
|
+
(u[0], (u[1] if u[1] else "objects.inv"))
|
|
16
36
|
for u in get_intersphinx_mapping(packages=packages).values()
|
|
17
37
|
]
|
|
18
38
|
|
|
39
|
+
flattened = []
|
|
40
|
+
for base_url, obj in urls:
|
|
41
|
+
|
|
42
|
+
final_url = urljoin(base_url, obj)
|
|
43
|
+
|
|
44
|
+
resp = requests.get(final_url)
|
|
45
|
+
|
|
46
|
+
inv = InventoryFile.load(BytesIO(resp.content), base_url, urljoin)
|
|
47
|
+
|
|
48
|
+
for key, v in inv.items():
|
|
49
|
+
inv_entries = sorted(v.items())
|
|
50
|
+
for entry, (_proj, _ver, url_path, display_name) in inv_entries:
|
|
51
|
+
# display_name = display_name * (display_name != '-')
|
|
52
|
+
flattened.append((key, entry, _proj, _ver, display_name, url_path))
|
|
53
|
+
|
|
54
|
+
filtered = []
|
|
55
|
+
|
|
56
|
+
width = [len(x) for x in flattened[0]]
|
|
57
|
+
|
|
58
|
+
for item in flattened:
|
|
59
|
+
key, entry, proj, version, display_name, url_path = item
|
|
60
|
+
if (
|
|
61
|
+
(search_term is None)
|
|
62
|
+
or (search_term in entry)
|
|
63
|
+
or (search_term in display_name)
|
|
64
|
+
or (search_term in url_path)
|
|
65
|
+
):
|
|
66
|
+
filtered.append((key, entry, proj, version, display_name, url_path))
|
|
67
|
+
width = [max(w, len(x)) for w, x in zip(width, item)]
|
|
68
|
+
|
|
19
69
|
|
|
20
|
-
|
|
21
|
-
|
|
70
|
+
for key, entry, proj, version, display_name, url_path in filtered:
|
|
71
|
+
w_key, w_entry, w_proj, w_version, w_di, w_url = width
|
|
72
|
+
print(
|
|
73
|
+
f"{key:<{w_key}} {entry:<{w_entry}} {proj:<{w_proj}} {version:<{w_version}} {display_name!r:<{w_di+2}} {url_path}"
|
|
74
|
+
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"anndata": ["https://anndata.readthedocs.io/en/stable/", null],
|
|
3
|
-
"asdf-astropy": ["https://asdf-astropy.readthedocs.io/en/
|
|
4
|
-
"astropy-dev": ["https://docs.astropy.org/en/
|
|
3
|
+
"asdf-astropy": ["https://asdf-astropy.readthedocs.io/en/stable/", null],
|
|
4
|
+
"astropy-dev": ["https://docs.astropy.org/en/stable/", null],
|
|
5
5
|
"asv": ["https://asv.readthedocs.io/en/stable/", null],
|
|
6
6
|
"asyncssh": ["https://asyncssh.readthedocs.io/en/latest/", null],
|
|
7
7
|
"attrs": ["https://www.attrs.org/en/stable/", null],
|
|
@@ -15,22 +15,20 @@
|
|
|
15
15
|
"cartopy": ["https://scitools.org.uk/cartopy/docs/latest/", null],
|
|
16
16
|
"cffi": ["https://cffi.readthedocs.io/en/latest/", null],
|
|
17
17
|
"click": ["https://click.palletsprojects.com/", null],
|
|
18
|
+
"commonmark": ["https://commonmarkpy.readthedocs.io/en/stable/", null],
|
|
18
19
|
"conda": ["https://conda.io/en/latest/", null],
|
|
19
20
|
"configspace": ["https://automl.github.io/ConfigSpace/latest/", null],
|
|
20
21
|
"cycler": ["https://matplotlib.org/cycler/", null],
|
|
21
22
|
"cython": ["https://docs.cython.org/en/latest/", null],
|
|
22
23
|
"dask": ["https://docs.dask.org/en/latest/", null],
|
|
23
|
-
"dateutil": ["https://dateutil.readthedocs.io/en/
|
|
24
|
+
"dateutil": ["https://dateutil.readthedocs.io/en/stable/", null],
|
|
24
25
|
"devguide": ["https://devguide.python.org/", null],
|
|
25
26
|
"devpi": ["https://devpi.net/docs/devpi/devpi/latest/+doc/", null],
|
|
26
27
|
"dh-virtualenv": ["https://dh-virtualenv.readthedocs.io/en/latest/", null],
|
|
27
28
|
"dipy": ["https://docs.dipy.org/stable/", null],
|
|
28
29
|
"distlib": ["https://distlib.readthedocs.io/en/latest/", null],
|
|
29
30
|
"distributed": ["https://distributed.dask.org/en/stable/", null],
|
|
30
|
-
"django": [
|
|
31
|
-
"https://docs.djangoproject.com/en/stable/",
|
|
32
|
-
"https://docs.djangoproject.com/en/stable/_objects/"
|
|
33
|
-
],
|
|
31
|
+
"django": ["https://docs.djangoproject.com/en/stable/", "https://docs.djangoproject.com/en/stable/_objects/"],
|
|
34
32
|
"dlpack": ["https://dmlc.github.io/dlpack/latest/", null],
|
|
35
33
|
"flax": ["https://flax.readthedocs.io/en/latest/", null],
|
|
36
34
|
"flexx": ["https://flexx.readthedocs.io/en/latest/", null],
|
|
@@ -38,19 +36,18 @@
|
|
|
38
36
|
"geopandas": ["https://geopandas.org/en/stable/", null],
|
|
39
37
|
"hub": ["https://jupyterhub.readthedocs.io/en/latest/", null],
|
|
40
38
|
"imageio": ["https://imageio.readthedocs.io/en/stable/", null],
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
null
|
|
44
|
-
],
|
|
39
|
+
"iminuit": ["https://iminuit.readthedocs.io/en/stable/", null],
|
|
40
|
+
"importlib-resources": ["https://importlib-resources.readthedocs.io/en/latest/", null],
|
|
45
41
|
"ipykernel": ["https://ipykernel.readthedocs.io/en/latest/", null],
|
|
46
42
|
"ipyleaflet": ["https://ipyleaflet.readthedocs.io/en/latest/", null],
|
|
47
|
-
"ipyparallel": ["https://ipyparallel.readthedocs.io/en/
|
|
48
|
-
"ipython": ["https://ipython.readthedocs.io/en/
|
|
43
|
+
"ipyparallel": ["https://ipyparallel.readthedocs.io/en/stable/", null],
|
|
44
|
+
"ipython": ["https://ipython.readthedocs.io/en/stable/", null],
|
|
49
45
|
"ipywidgets": ["https://ipywidgets.readthedocs.io/en/latest/", null],
|
|
50
46
|
"jax": ["https://jax.readthedocs.io/en/latest/", null],
|
|
51
47
|
"jedi": ["https://jedi.readthedocs.io/en/latest/", null],
|
|
52
48
|
"jinja": ["https://jinja.palletsprojects.com/", null],
|
|
53
49
|
"joblib": ["https://joblib.readthedocs.io/en/latest/", null],
|
|
50
|
+
"jsonpatch": ["https://python-json-patch.readthedocs.io/en/stable/", null],
|
|
54
51
|
"jupyter": ["https://docs.jupyter.org/en/latest/", null],
|
|
55
52
|
"jupyter-server": ["https://jupyter-server.readthedocs.io/en/stable/", null],
|
|
56
53
|
"jupyter_core": ["https://jupyter-core.readthedocs.io/en/stable/", null],
|
|
@@ -75,10 +72,7 @@
|
|
|
75
72
|
"mpmath": ["https://mpmath.org/doc/current/", null],
|
|
76
73
|
"myst-nb": ["https://myst-nb.readthedocs.io/en/latest/", null],
|
|
77
74
|
"myst-parser": ["https://myst-parser.readthedocs.io/en/latest/", null],
|
|
78
|
-
"napari_plugin_engine": [
|
|
79
|
-
"https://napari-plugin-engine.readthedocs.io/en/latest/",
|
|
80
|
-
null
|
|
81
|
-
],
|
|
75
|
+
"napari_plugin_engine": ["https://napari-plugin-engine.readthedocs.io/en/latest/", null],
|
|
82
76
|
"nbconvert": ["https://nbconvert.readthedocs.io/en/latest/", null],
|
|
83
77
|
"nbformat": ["https://nbformat.readthedocs.io/en/latest/", null],
|
|
84
78
|
"nbgitpuller": ["https://nbgitpuller.readthedocs.io/en/latest/", null],
|
|
@@ -104,12 +98,10 @@
|
|
|
104
98
|
"pip": ["https://pip.pypa.io/en/latest/", null],
|
|
105
99
|
"pipenv": ["https://pipenv.pypa.io/en/latest/", null],
|
|
106
100
|
"piwheels": ["https://piwheels.readthedocs.io/en/latest/", null],
|
|
101
|
+
"plotly": ["https://plotly.com/python-api-reference/", null],
|
|
107
102
|
"pluggy": ["https://pluggy.readthedocs.io/en/stable/", null],
|
|
108
103
|
"poliastro": ["https://docs.poliastro.space/en/stable/", null],
|
|
109
|
-
"prompt_toolkit": [
|
|
110
|
-
"https://python-prompt-toolkit.readthedocs.io/en/stable/",
|
|
111
|
-
null
|
|
112
|
-
],
|
|
104
|
+
"prompt_toolkit": ["https://python-prompt-toolkit.readthedocs.io/en/stable/", null],
|
|
113
105
|
"py": ["https://pylib.readthedocs.io/en/latest/", null],
|
|
114
106
|
"pyarrow": ["https://arrow.apache.org/docs/", null],
|
|
115
107
|
"pybind11": ["https://pybind11.readthedocs.io/en/stable/", null],
|
|
@@ -134,6 +126,7 @@
|
|
|
134
126
|
"readthedocs": ["https://docs.readthedocs.io/en/stable/", null],
|
|
135
127
|
"referencing": ["https://referencing.readthedocs.io/en/stable/", null],
|
|
136
128
|
"requests": ["https://docs.python-requests.org/en/latest/", null],
|
|
129
|
+
"rich": ["https://rich.readthedocs.io/en/stable/", null],
|
|
137
130
|
"rpy2": ["https://rpy2.github.io/doc/latest/html/", null],
|
|
138
131
|
"rst-to-myst": ["https://rst-to-myst.readthedocs.io/en/stable/", null],
|
|
139
132
|
"rtd": ["https://docs.readthedocs.io/en/stable/", null],
|
|
@@ -153,24 +146,12 @@
|
|
|
153
146
|
"spack": ["https://spack.readthedocs.io/en/latest/", null],
|
|
154
147
|
"sparse": ["https://sparse.pydata.org/en/latest/", null],
|
|
155
148
|
"sphinx": ["https://www.sphinx-doc.org/en/master/", null],
|
|
156
|
-
"sphinx-copybutton": [
|
|
157
|
-
|
|
158
|
-
null
|
|
159
|
-
],
|
|
160
|
-
"sphinx-design": [
|
|
161
|
-
"https://sphinx-design.readthedocs.io/en/pydata-theme/",
|
|
162
|
-
null
|
|
163
|
-
],
|
|
149
|
+
"sphinx-copybutton": ["https://sphinx-copybutton.readthedocs.io/en/latest/", null],
|
|
150
|
+
"sphinx-design": ["https://sphinx-design.readthedocs.io/en/pydata-theme/", null],
|
|
164
151
|
"sphinx-gallery": ["https://sphinx-gallery.github.io/stable/", null],
|
|
165
152
|
"sphinx-material": ["https://bashtage.github.io/sphinx-material/", null],
|
|
166
|
-
"sphinx-togglebutton": [
|
|
167
|
-
|
|
168
|
-
null
|
|
169
|
-
],
|
|
170
|
-
"sphinx_automodapi": [
|
|
171
|
-
"https://sphinx-automodapi.readthedocs.io/en/stable/",
|
|
172
|
-
null
|
|
173
|
-
],
|
|
153
|
+
"sphinx-togglebutton": ["https://sphinx-togglebutton.readthedocs.io/en/latest/", null],
|
|
154
|
+
"sphinx_automodapi": ["https://sphinx-automodapi.readthedocs.io/en/stable/", null],
|
|
174
155
|
"sqlalchemy": ["https://docs.sqlalchemy.org/en/latest/", null],
|
|
175
156
|
"statsmodels": ["https://www.statsmodels.org/stable/", null],
|
|
176
157
|
"sympy": ["https://docs.sympy.org/latest/", null],
|
|
@@ -183,6 +164,7 @@
|
|
|
183
164
|
"typing": ["https://typing.readthedocs.io/en/latest/", null],
|
|
184
165
|
"typing_extensions": ["https://typing-extensions.readthedocs.io/en/stable/", null],
|
|
185
166
|
"ubelt": ["https://ubelt.readthedocs.io/en/latest/", null],
|
|
167
|
+
"uproot": ["https://uproot.readthedocs.io/en/stable/", null],
|
|
186
168
|
"urwid": ["https://urwid.org/", null],
|
|
187
169
|
"virtualenv": ["https://virtualenv.pypa.io/en/stable/", null],
|
|
188
170
|
"writethedocs": ["https://www.writethedocs.org/", null],
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: intersphinx_registry
|
|
3
|
+
Version: 0.2411.25
|
|
4
|
+
Summary: This package provides convenient utilities and data to write a sphinx config file.
|
|
5
|
+
Author-email: Matthias Bussonnier <bussonniermatthias@gmail.com>
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
+
Requires-Dist: pytest>=7.0 ; extra == "tests"
|
|
9
|
+
Requires-Dist: pytest-xdist ; extra == "tests"
|
|
10
|
+
Requires-Dist: requests ; extra == "tests"
|
|
11
|
+
Requires-Dist: mypy ; extra == "tests"
|
|
12
|
+
Requires-Dist: types-requests ; extra == "tests"
|
|
13
|
+
Project-URL: Home, https://github.com/Quansight-labs/intersphinx_registry
|
|
14
|
+
Provides-Extra: tests
|
|
15
|
+
|
|
16
|
+
# Intersphinx Registry
|
|
17
|
+
|
|
18
|
+
A simple utility package that provide default inter sphinx mapping for a large chunk of the python ecosystem.
|
|
19
|
+
|
|
20
|
+
Usage in `conf.py`
|
|
21
|
+
|
|
22
|
+
```python
|
|
23
|
+
from intersphinx_registry import get_intersphinx_mapping
|
|
24
|
+
|
|
25
|
+
# ...
|
|
26
|
+
intersphinx_mapping = get_intersphinx_mapping(
|
|
27
|
+
packages={"ipython", "matplotlib", "pandas", "python"}
|
|
28
|
+
)
|
|
29
|
+
intersphinx_mapping.update({
|
|
30
|
+
'overwrite': ('<url>', None),
|
|
31
|
+
'my-package' : ('<url>', None),
|
|
32
|
+
})
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## quick lookup
|
|
36
|
+
|
|
37
|
+
You can use the following to lookup target/webpages of various packages.
|
|
38
|
+
|
|
39
|
+
Call without arguments to get help:
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
$ python -m intersphinx_registry.lookup
|
|
43
|
+
|
|
44
|
+
Usage: python -m intersphinx_registry.lookup <package>[,package] [search_term]
|
|
45
|
+
|
|
46
|
+
Example:
|
|
47
|
+
|
|
48
|
+
$ python -m intersphinx_registry.lookup numpy,scipy array
|
|
49
|
+
$ python -m intersphinx_registry.lookup ipython formatters.html
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
You can search multiple packages as once.
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
$ python -m intersphinx_registry.lookup numpy,scipy Universal
|
|
57
|
+
std:label ufuncs NumPy 2.1 'Universal functions (ufunc)' https://numpy.org/doc/stable/reference/ufuncs.html#ufuncs
|
|
58
|
+
std:label ufuncs-basics NumPy 2.1 'Universal functions (ufunc) basics' https://numpy.org/doc/stable/user/basics.ufuncs.html#ufuncs-basics
|
|
59
|
+
std:label ufuncs-internals NumPy 2.1 'Universal functions' https://numpy.org/doc/stable/dev/internals.code-explanations.html#ufuncs-internals
|
|
60
|
+
std:doc reference/ufuncs NumPy 2.1 'Universal functions (ufunc)' https://numpy.org/doc/stable/reference/ufuncs.html
|
|
61
|
+
std:doc user/basics.ufuncs NumPy 2.1 'Universal functions (ufunc) basics' https://numpy.org/doc/stable/user/basics.ufuncs.html
|
|
62
|
+
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
|
|
63
|
+
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
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Warning, there is no cache, it downloads the inventory of each mentioned package every time.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## Why ?
|
|
70
|
+
|
|
71
|
+
Sometime packages docs move and it's hard to keep track of. We _try_ to keep the
|
|
72
|
+
registry up to date, so yo do not have to ask yourself questions and update your
|
|
73
|
+
intersphinx-mapping.
|
|
74
|
+
|
|
75
|
+
You also might not want to think about adding intersphinx mapping when you refer
|
|
76
|
+
to dependencies.
|
|
77
|
+
|
|
78
|
+
## A package url is wrong !
|
|
79
|
+
|
|
80
|
+
Please send a PR updating only this package in the `registry.json`. We try to
|
|
81
|
+
link only to _stable_ package, not dev versions.
|
|
82
|
+
|
|
83
|
+
## A package is missing !
|
|
84
|
+
|
|
85
|
+
We can't do all packages, but if you think a package is widely used and missing,
|
|
86
|
+
please send a PR.
|
|
87
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
intersphinx_registry/__init__.py,sha256=m7_gFh8hWex6xNVQ1143h-odCKfkSEzvjF-1NZZVF6c,1763
|
|
2
|
+
intersphinx_registry/_info.py,sha256=wlicM8WkAaykwDkeyp5JRGgYOG3Kp7diu0bjBlYfH9M,2223
|
|
3
|
+
intersphinx_registry/lookup.py,sha256=DpRhv55mMLE4Xyt1xBMXFB8voO7vXoZDqeqjGBDzoLw,2008
|
|
4
|
+
intersphinx_registry/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
intersphinx_registry/registry.json,sha256=wnMgSTuwNoZxAcn7CgbLSGl2GxGkaZ92LiK3insqF40,11223
|
|
6
|
+
intersphinx_registry-0.2411.25.dist-info/LICENSE,sha256=j98x_c52nvqkLlr-U8tUaubJG3IBCIFEInYE4L_Yqqo,1086
|
|
7
|
+
intersphinx_registry-0.2411.25.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
8
|
+
intersphinx_registry-0.2411.25.dist-info/METADATA,sha256=LxQzJTNp7g8VfeQvQ7fG5BfpE0hHOQUvZt44e2uwOfA,3533
|
|
9
|
+
intersphinx_registry-0.2411.25.dist-info/RECORD,,
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: intersphinx_registry
|
|
3
|
-
Version: 0.2411.13
|
|
4
|
-
Summary: This package provides convenient utilities and data to write a sphinx config file.
|
|
5
|
-
Author-email: Matthias Bussonnier <bussonniermatthias@gmail.com>
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
-
Requires-Dist: pytest>=7.0 ; extra == "tests"
|
|
9
|
-
Requires-Dist: pytest-xdist ; extra == "tests"
|
|
10
|
-
Requires-Dist: requests ; extra == "tests"
|
|
11
|
-
Requires-Dist: mypy ; extra == "tests"
|
|
12
|
-
Requires-Dist: types-requests ; extra == "tests"
|
|
13
|
-
Project-URL: Home, https://github.com/Quansight-labs/intersphinx_registry
|
|
14
|
-
Provides-Extra: tests
|
|
15
|
-
|
|
16
|
-
# Intersphinx Registry
|
|
17
|
-
|
|
18
|
-
A simple utility package that provide default inter sphinx mapping for a large chunk of the python ecosystem.
|
|
19
|
-
|
|
20
|
-
Usage in `conf.py`
|
|
21
|
-
|
|
22
|
-
```python
|
|
23
|
-
from intersphinx_registry import get_intersphinx_mapping
|
|
24
|
-
|
|
25
|
-
# ...
|
|
26
|
-
intersphinx_mapping = get_intersphinx_mapping(
|
|
27
|
-
packages={"ipython", "matplotlib", "pandas", "python"}
|
|
28
|
-
)
|
|
29
|
-
intersphinx_mapping.update({
|
|
30
|
-
'overwrite': ('<url>', None),
|
|
31
|
-
'my-package' : ('<url>', None),
|
|
32
|
-
})
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## quick lookup
|
|
36
|
-
|
|
37
|
-
You can use the following to lookup target/webpages of various packages.
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
$ python -m intersphinx_registry.lookup ipython | grep whatsnew7
|
|
41
|
-
whatsnew700 IPython 7.0.0 : whatsnew/version7.html#whatsnew700
|
|
42
|
-
whatsnew710 IPython 7.1.0 : whatsnew/version7.html#whatsnew710
|
|
43
|
-
whatsnew720 IPython 7.2.0 : whatsnew/version7.html#whatsnew720
|
|
44
|
-
whatsnew730 IPython 7.3.0 : whatsnew/version7.html#whatsnew730
|
|
45
|
-
whatsnew740 IPython 7.4.0 : whatsnew/version7.html#whatsnew740
|
|
46
|
-
whatsnew750 IPython 7.5.0 : whatsnew/version7.html#whatsnew750
|
|
47
|
-
whatsnew760 IPython 7.6.0 : whatsnew/version7.html#whatsnew760
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
## Why ?
|
|
52
|
-
|
|
53
|
-
Sometime packages docs move and it's hard to keep track of. We _try_ to keep the
|
|
54
|
-
registry up to date, so yo do not have to ask yourself questions and update your
|
|
55
|
-
intersphinx-mapping.
|
|
56
|
-
|
|
57
|
-
You also might not want to think about adding intersphinx mapping when you refer
|
|
58
|
-
to dependencies.
|
|
59
|
-
|
|
60
|
-
## A package url is wrong !
|
|
61
|
-
|
|
62
|
-
Please send a PR updating only this package in the `registry.json`. We try to
|
|
63
|
-
link only to _stable_ package, not dev versions.
|
|
64
|
-
|
|
65
|
-
## A package is missing !
|
|
66
|
-
|
|
67
|
-
We can't do all packages, but if you think a package is widely used and missing,
|
|
68
|
-
please send a PR.
|
|
69
|
-
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
intersphinx_registry/__init__.py,sha256=NmSZJwu9eyh0yv57FOUDXE3iZ4ggUpaMXKvb94q2wW4,1763
|
|
2
|
-
intersphinx_registry/lookup.py,sha256=i5WhafTP97-Gv1n_RLpCZWb2HGIayockMHeg_IHxwBk,524
|
|
3
|
-
intersphinx_registry/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
intersphinx_registry/registry.json,sha256=7HduIHRzcvq-3S7f0HI5VMDqleL5ozG94-e1aL6Jp7E,10913
|
|
5
|
-
intersphinx_registry-0.2411.13.dist-info/LICENSE,sha256=j98x_c52nvqkLlr-U8tUaubJG3IBCIFEInYE4L_Yqqo,1086
|
|
6
|
-
intersphinx_registry-0.2411.13.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
7
|
-
intersphinx_registry-0.2411.13.dist-info/METADATA,sha256=LNgo7mrK82pOcoITxqlAsl957hRQga2C3nStXQwHGWU,2678
|
|
8
|
-
intersphinx_registry-0.2411.13.dist-info/RECORD,,
|
{intersphinx_registry-0.2411.13.dist-info → intersphinx_registry-0.2411.25.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|