{"id":23900,"library":"ipynb","title":"ipynb","description":"Package / Module importer for importing code from Jupyter Notebook files (.ipynb). Currently at version 0.5.1, with low release cadence. Allows importing Jupyter notebooks as Python modules.","status":"active","version":"0.5.1","language":"python","source_language":"en","source_url":"https://github.com/yuvipanda/ipynb","tags":["jupyter","notebook","import","ipynb","module"],"install":[{"cmd":"pip install ipynb","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"ipynb","correct":"import ipynb"},{"note":"","wrong":"","symbol":"load_notebook_module","correct":"from ipynb import load_notebook_module"}],"quickstart":{"code":"import ipynb\n# Enable notebook importing\nipynb.enable()\nimport my_notebook  # imports my_notebook.ipynb\n","lang":"python","description":"Enable importing .ipynb files as modules."},"warnings":[{"fix":"Only enable when needed, or use `ipynb.load_notebook_module` directly.","message":"The `ipynb` package uses sys.path hooks and may interfere with regular imports if not used carefully.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure your .ipynb files are importable by placing them in your current working directory or adjusting sys.path.","message":"Notebook files must be in the same directory or on sys.path.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.5.1':16 'allow':21 'cadenc':20 'code':7 'current':13 'file':11 'import':4,6,22,30 'ipynb':1,12,31 'jupyt':9,23,28 'low':18 'modul':3,27,32 'notebook':10,24,29 'packag':2 'python':26 'releas':19 'version':15","created_at":"2026-05-01T08:10:13.436533+00:00","updated_at":"2026-05-01T08:10:13.436533+00:00","problems":[{"fix":"Run `pip install ipynb`.","cause":"ipynb is not installed.","error":"ModuleNotFoundError: No module named 'ipynb'"},{"fix":"Use `from ipynb import load_notebook_module` (correct) or check version.","cause":"The function does not exist in older versions or typo in name.","error":"ImportError: cannot import name 'load_notebook_module' from 'ipynb'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.5.1","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"http://github.com/yuvipanda/ipynb","docs":null,"changelog":null,"pypi":"https://pypi.org/project/ipynb/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}