Registry / data / ipynb
library0.5.1pypypi✓ verified 83d ago

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.

pip install ipynb
INSTALL
IMPORT
SIG · IPYNB
I
ipynb
datapythonv0.5.1
Install
1.5s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.5.1 · 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.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

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

ipynb
import ipynb
load_notebook_module
from ipynb import load_notebook_module

Enable importing .ipynb files as modules.

import ipynb # Enable notebook importing ipynb.enable() import my_notebook # imports my_notebook.ipynb
Debug
Known issues
gotchaThe `ipynb` package uses sys.path hooks and may interfere with regular imports if not used carefully.
fix
Only enable when needed, or use `ipynb.load_notebook_module` directly.
affects: all
gotchaNotebook files must be in the same directory or on sys.path.
fix
Ensure your .ipynb files are importable by placing them in your current working directory or adjusting sys.path.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'ipynb'
ipynb is not installed.
fix
Run `pip install ipynb`.
ImportError: cannot import name 'load_notebook_module' from 'ipynb'
The function does not exist in older versions or typo in name.
fix
Use `from ipynb import load_notebook_module` (correct) or check version.
Upgrade
Version history
0.5.1latest on PyPI · released Oct 23, 2017
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ipynb — pip install ipynb · libregistry