Load a Jupyter Notebook as a module object.
Project description
nb_as_module
Load a Jupyter Notebook as a module object.
E.g.
from nb_as_module import nb_as_module
my_module = nb_as_module('path/to/notebook.ipynb', name='my_module)
my_module.hello() # where `hello` is a function defined in the notebook.
Put <!--docstring--> at the beggining of markdown cells,
to use them as __doc__
documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nb_as_module-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for nb_as_module-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe0638f865307824bb7cbb4d34d9240b5b35fb05a374ff04a98919c4fa7f6399 |
|
MD5 | 533389483f710dda2d14a6da5279dedc |
|
BLAKE2b-256 | 74ca53d57bc8bf9abd1c093e7714a0c964b5c8093aa8fd2edbe5cdc827d52502 |