https://github.com/zincware/znipy
https://github.com/zincware/znipy
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zincware/znipy
- Owner: zincware
- License: epl-2.0
- Created: 2022-02-07T09:20:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-08T11:32:17.000Z (over 4 years ago)
- Last Synced: 2025-06-19T14:08:56.700Z (12 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://coveralls.io/github/zincware/ZnIPy?branch=main)
# ZnIPy - Easy imports from Jupyter Notebooks
See [Importing Jupyter Notebooks as Modules](https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Importing%20Notebooks.html) for more information.
```python
from znipy import NotebookLoader
module = NotebookLoader().load_module("JupyterNotebook.ipnyb")
hello_world = module.HelloWorld()
```
or with direct imports
```python
import znipy
znipy.register()
from JupyterNotebook import HelloWorld
hello_world = HelloWorld()
```