Skip to main content

Import jupyter notebooks fast

Project description

Fast-nbs

Import jupyter notebooks fast

Example

Supposing we have a module directory like:

- nbpackage
--  nbs
       other.ipynb
--  mynotebook.ipynb

then we can import the ipynb codes into current Python files like:

import os
import fastnbs.vis as nbvis

# call root notebook
from nbpackage import mynotebook
mynotebook.show_name("Chen")

# call sub directory notebook
from nbpackage.nbs import other
other.say_hi('hi')
# show notebook codes
nbvis.show_notebook(os.path.join("nbpackage", "nbs", "other.ipynb"))

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

fast-nbs-0.0.1a0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fast_nbs-0.0.1a0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file fast-nbs-0.0.1a0.tar.gz.

File metadata

  • Download URL: fast-nbs-0.0.1a0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for fast-nbs-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 85ed325a1fbb63ed0d4b1f6dff627329b20d4d0afc36ee178c8685f40864f6e3
MD5 7ed70b67b201d9959170299686ed693b
BLAKE2b-256 5294c853b744d8bd6db04bc213f26c3a4201b678bfa99268579d2cb94f0e325b

See more details on using hashes here.

File details

Details for the file fast_nbs-0.0.1a0-py3-none-any.whl.

File metadata

  • Download URL: fast_nbs-0.0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for fast_nbs-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 154f78f038697e0009ab3c65da9ba202525e1dd1f30e1aa84d840f7ee6da2b65
MD5 7c5147d12f5ca86bbd4fe8d7ef4cfc35
BLAKE2b-256 dd6f10dff8e60721da0c744a102b3f7f916b41485d591b5d0f9f8668c4d6b47f

See more details on using hashes here.

Supported by

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