{"id":24098,"library":"nbdev-numpy","title":"nbdev-numpy","description":"nbdev-numpy provides nbdev documentation lookup for numpy functions and classes. It is part of the nbdev ecosystem, enabling automatic linking to numpy docs from Jupyter notebooks. Current version 0.0.2386, updated frequently.","status":"active","version":"0.0.2386","language":"python","source_language":"en","source_url":"https://github.com/fastai/nbdev-index/tree/master/","tags":["nbdev","numpy","documentation","notebook"],"install":[{"cmd":"pip install nbdev-numpy","lang":"bash","label":"Default install"}],"dependencies":[{"reason":"nbdev-numpy requires nbdev to function as a doc lookup plugin.","package":"nbdev","optional":false},{"reason":"The library provides doc lookup for numpy; though not strictly imported, usage expects numpy to be available.","package":"numpy","optional":true}],"imports":[{"note":"Correct import uses underscore in module name.","symbol":"NumpyLookup","correct":"from nbdev_numpy import NumpyLookup"}],"quickstart":{"code":"from nbdev_numpy import NumpyLookup\nlookup = NumpyLookup()\n# Example: get doc for numpy.array\nprint(lookup.get_doc('numpy.array'))","lang":"python","description":"Import the lookup class and call get_doc with a numpy symbol."},"warnings":[{"fix":"Use from nbdev_numpy import NumpyLookup","message":"The module name uses an underscore (nbdev_numpy) not a hyphen. Importing as nbdev-numpy will fail.","severity":"breaking","affected_versions":"all"},{"fix":"pip install nbdev-numpy==0.0.2386","message":"The library is early and APIs may change without notice. Pin to a specific version in production.","severity":"deprecated","affected_versions":"<1.0.0"},{"fix":"Install nbdev and run nbdev_install_hooks in your repo.","message":"nbdev-numpy requires nbdev to be installed and configured; otherwise get_doc may return empty results.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Change import to: from nbdev_numpy import NumpyLookup","cause":"Attempting to import using the package name with hyphen, but Python modules use underscores.","error":"ModuleNotFoundError: No module named 'nbdev-numpy'"},{"fix":"Use: from nbdev_numpy import NumpyLookup","cause":"Typo or wrong class name. The correct class is NumpyLookup.","error":"AttributeError: module 'nbdev_numpy' has no attribute 'lookup'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}