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.1a0.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for fast_nbs-0.0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 154f78f038697e0009ab3c65da9ba202525e1dd1f30e1aa84d840f7ee6da2b65 |
|
MD5 | 7c5147d12f5ca86bbd4fe8d7ef4cfc35 |
|
BLAKE2b-256 | dd6f10dff8e60721da0c744a102b3f7f916b41485d591b5d0f9f8668c4d6b47f |