nbdev-stdlib
raw JSON → 0.0.2404 verified Fri May 01 auth: no python maintenance
nbdev-stdlib provides docstring lookup for Python standard library modules within nbdev notebooks. Version 0.0.2404; no recent releases, appears to be in maintenance mode.
pip install nbdev-stdlib Common errors
error ModuleNotFoundError: No module named 'nbdev_stdlib' ↓
cause Package not installed or wrong import name.
fix
Run 'pip install nbdev-stdlib' and ensure import uses 'nbdev_stdlib' with underscores.
error KeyError: 'os.getcwd' ↓
cause The dot-path is not in the index or is incorrect.
fix
Verify the exact dot-path (e.g., 'os.getcwd' for os.getcwd). Standard library only.
Warnings
gotcha Import as `nbdev_stdlib`, not `nbdev_stdlib` — the package name on PyPI uses hyphens but the import uses underscores. ↓
fix Use 'from nbdev_stdlib import ...'
deprecated The library appears unmaintained since 2020. May not work with newer nbdev versions. ↓
fix Consider using nbdev's built-in documentation features or other alternatives.
gotcha StdLookup only supports standard library modules; it does not index third-party packages. ↓
fix For third-party packages, use nbdev's nbdev_show_doc or similar.
Imports
- StdLookup wrong
from nbdev.stdlib import StdLookupcorrectfrom nbdev_stdlib import StdLookup
Quickstart
from nbdev_stdlib import StdLookup
lookup = StdLookup()
print(lookup('os.getcwd'))