Quansight-Labs / intersphinx_registry

https://pypi.org/project/intersphinx_registry
MIT License
11 stars 7 forks source link

Improve lookup with full url, and filter. #42

Closed Carreau closed 2 days ago

Carreau commented 3 days ago
$ 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
Carreau commented 3 days ago

@matthewfeickert I believe you were the one using lookup right ?

matthewfeickert commented 3 days ago

I believe you were the one using lookup right ?

I don't think so(?), as the default project we would have been discussing doesn't show it. But maybe this was another discussion/project and I forgot?

Carreau commented 2 days ago

Yeah, I don't remember, it was in the big room at the e-science institut, and someone told me "hey it would be great with intersphinx lookup", and I thought it was you.

Anyway, if you are interested in using intersphinx-registry for scikit-hep, I can send a PR.

matthewfeickert commented 2 days ago

Anyway, if you are interested in using intersphinx-registry for scikit-hep, I can send a PR.

That would be amazing. Even an email to me reminding me what is needed would be great. Thanks! :)