Registry / ai-ml / nbdev-scipy

nbdev-scipy

JSON →
library0.0.2376pypypi✓ verified 90d ago

nbdev-scipy provides automatic documentation lookup for scipy functions within nbdev notebooks. It maps scipy symbols to their official documentation URLs using a curated index. Current version 0.0.2376 is pre-1.0; frequent releases with incremental index updates. No known breaking changes yet.

pip install nbdev-scipy
INSTALL
IMPORT
SIG · NBDEV-SCIPY
N
nbdev-scipy
ai-mlpythonv0.0.2376
Install
2.2s avg
Import
—
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.0.2376 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.7MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 2.2s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

nbdev_scipy
✓ import nbdev_scipy
Import the module to register the doc lookup; no need to use any specific function.
DocLookup
✓
✗ from nbdev_scipy import DocLookup
DocLookup is not directly imported; nbdev-scipy registers itself via nbdev's doc lookup system.

After importing nbdev_scipy, nbdev's show_doc will resolve scipy symbols to their official docs.

import nbdev_scipy # Now in a notebook cell, use nbdev's show_doc with a scipy function: from nbdev.showdoc import show_doc from scipy.stats import norm show_doc(norm.pdf)
nbdev_scipy --version
Debug
Known issues
gotchanbdev-scipy requires nbdev's doc lookup infrastructure. Without nbdev installed, the import does nothing and no docs are shown.
fix
Ensure nbdev is installed: pip install nbdev
affects: all
gotchaThe index is prebuilt and may lag behind new scipy releases. Some new functions may not yet have documentation links.
fix
Check the index source at https://github.com/fastai/nbdev-index/tree/master/ to see if the symbol is included.
affects: all
deprecatednbdev-scipy is not actively maintained by the fastai team; the package maintainer has not released updates in months. The index may be incomplete or outdated.
fix
Consider using nbdev's built-in doc lookup with scipy; it may already work without nbdev-scipy in newer nbdev versions.
affects: 0.0.2376 and earlier
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'nbdev_scipy'
nbdev-scipy not installed.
fix
Run: pip install nbdev-scipy
AttributeError: module 'nbdev.showdoc' has no attribute 'show_doc'
nbdev version too old; show_doc was renamed or moved.
fix
Update nbdev: pip install --upgrade nbdev
KeyError: 'scipy.special.gammainc'
The symbol is not in the nbdev-scipy index.
fix
Submit a PR to add the symbol to the index at https://github.com/fastai/nbdev-index.
Upgrade
Version history
0.0.2376latest on PyPI · released Feb 9, 2026
Audit
Dependencies
nbdevrequirednbdev-scipy is an extension for nbdev; required for doc lookup to work.
scipyoptionalNeeds to be installed to have scipy symbols available; not a runtime dependency.
Agent activity
8 hits · last 30 days
node
8
Resources