Skip to main content

Load a Jupyter Notebook as a module object.

Project description

nb_as_module

pip install 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.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

nb_as_module-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file nb_as_module-0.1.1.tar.gz.

File metadata

  • Download URL: nb_as_module-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for nb_as_module-0.1.1.tar.gz
Algorithm Hash digest
SHA256 678be6cda6e2ea2506fbe81e80e4a4f46f428142c22fe883a0066b326f508cca
MD5 e81efadb523db1e683437d06234bc344
BLAKE2b-256 87a37084ec00d897acf058674a516956e3e0addd57eb158e9c58df8a1f6d0f92

See more details on using hashes here.

File details

Details for the file nb_as_module-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nb_as_module-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for nb_as_module-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60ac5633a0806fcaf60aa836e89ffff0475547aaa09077688dc1676ae4442538
MD5 bd3434470fac88de50cf368fe243fa0e
BLAKE2b-256 2e0aedb2f8d5953ccbad74ee5a76263ce0634a0adff6bade20342dbaf9b56abc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page