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
Release history Release notifications | RSS feed
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.1.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file fast-nbs-0.0.1.tar.gz
.
File metadata
- Download URL: fast-nbs-0.0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0808c4b1a29cd608302c5ececbd5c148d8bddcc201ac13b5771d9cb850e1cfec |
|
MD5 | 7fbf9e04d3b7d0261456f166c2ee767b |
|
BLAKE2b-256 | 33d89a5b107b5dcf849767efcbdca7bb21ad6f535f18a41247b7d37efe8861b7 |
File details
Details for the file fast_nbs-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: fast_nbs-0.0.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a9734aa6c2888e07e7befd79dbe083cb5668747808cb47dd437f9ff6351ca92 |
|
MD5 | 64d4168420d51290bf00c13b6bf65f83 |
|
BLAKE2b-256 | 66085015b5f9c1db0e5fe7d484b1cf75f33db37e671178d0ad4b0a5344cf9971 |