ipynb
ipynb copied to clipboard
Package / Module importer for importing code from Jupyter Notebook files (.ipynb)
[importnb](https://github.com/deathbeds/importnb) is a newer and better version of this package, that does the same things - but is more maintained. I spoke to @tonyfast and there is interest in making...
I'm in JupyterLab, with two notebooks open, one of which is importing a function from the other (`tools.ipynb`): ``` import ipynb.fs.defs.tools ``` However, it doesn't seem to pick up changes...
Currently, we don't support IPython Magics at all from noteboks. We initially supported them, but removed them because importing IPython was causing a massive startup time lag (>1s) that seemed...
How about ```python with ipynb.importer(full=True): # or defs=True import my_notebook ``` For example, it would allow to specify options like ```python with ipynb.importer(ignore_errors=True): import my_notebook ``` Also, we may add...
In one notebook (en2ru.ipynb) I create function: `def ruchar(): return 'Б'` In another notebook I import first notebook and call ruchar() ``` from ipynb.fs.full.en2ru import * ruchar() ``` and I...
The license requires that all copies of the software include the license. This makes sure the license is included in the wheels. See the wheel documentation [here](https://wheel.readthedocs.io/en/stable/#including-the-license-in-the-generated-wheel-file) for more information.
Hi, I found that under certain circumstances `__package__` is not defined and hence FSFinder has no package_prefix set. This leads to an error when trying to import a notebook. Can...
When using `import ipynb.fs.defs.myipynb`, I get an error: ``` File "", line 81 alpha_dict[key] = alpha_dict[key].ewm(span=20,adjust=True,min_periods=0,ignore_na=False).mean() ^ IndentationError: unexpected indent ``` The cell is: ``` for key in alpha_dict: alpha_dict[key]...
Hi I fail to load a book due to an image in a MD cell. I have a small notebook `mylib.ipynb` [Cell 1 - Python] ```python # var = 1...