Metadata-Version: 2.1
Name: jupyter-module-loader
Version: 0.0.1
Summary: A python package that allows importing Jupyter notebooks as python modules
Home-page: https://github.com/pitamar/jupyter-module-loader
Author: Itamar Schen
Author-email: itamarschen@gmail.com
License: UNKNOWN
Description: # Jupyter notebooks module loader
        Allows to import Jupyter notebooks as if there were regular python modules.
        
        The code is based on the following example from Jupyter's documentation:  
        https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Importing%20Notebooks.html
        
        ## Installation
        ```bash
        pip install jupyter-module-loader
        ```
        
        ## Usage
        Suppose a project has the following files structure:
        ```text
        src/
        ├── main.py
        └── my_notebook.ipynb
        ```
        Let `my_notebook.ipynb` have a cell containing following code:
        ```python
            def fn():
                ...
        ```
        Within `main.py` it is possible to import `my_notebook.ipynb` like so:
        ```python
            import jupyter_module_loader
            jupyter_module_loader.register()
        
            import my_notebook
            my_notebook.fn() # Calls fn() defined within the notebook above
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
