All Projects → jbn → nbmerge

jbn / nbmerge

Licence: MIT license
A tool to merge / concatenate Jupyter (IPython) notebooks

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to nbmerge

Vscodejupyter
Jupyter for Visual Studio Code
Stars: ✭ 337 (+349.33%)
Mutual labels:  ipython, ipython-notebook
Telepyth
Telegram notification with IPython magics.
Stars: ✭ 54 (-28%)
Mutual labels:  ipython, ipython-notebook
Tutorials
CatBoost tutorials repository
Stars: ✭ 563 (+650.67%)
Mutual labels:  ipython, ipython-notebook
React-Jupyter-Viewer
A react component to embed .ipyb notebooks in a blog or something
Stars: ✭ 50 (-33.33%)
Mutual labels:  ipython, ipython-notebook
rk
The remote Jupyter kernel/kernels administration utility
Stars: ✭ 53 (-29.33%)
Mutual labels:  ipython, ipython-notebook
05 Python Files
Python too supports file handling and allows users to handle files i.e., to read and write files, along with many other file handling options, to operate on files. The concept of file handling has stretched over various other languages, but the implementation is either complicated or lengthy, but like other concepts of Python, this concept here …
Stars: ✭ 163 (+117.33%)
Mutual labels:  ipython, ipython-notebook
Ansible Jupyterhub
Ansible role to setup jupyterhub server (deprecated)
Stars: ✭ 14 (-81.33%)
Mutual labels:  ipython, ipython-notebook
Nbstripout
strip output from Jupyter and IPython notebooks
Stars: ✭ 738 (+884%)
Mutual labels:  ipython, ipython-notebook
Spark Py Notebooks
Apache Spark & Python (pySpark) tutorials for Big Data Analysis and Machine Learning as IPython / Jupyter notebooks
Stars: ✭ 1,338 (+1684%)
Mutual labels:  ipython, ipython-notebook
Sci Pype
A Machine Learning API with native redis caching and export + import using S3. Analyze entire datasets using an API for building, training, testing, analyzing, extracting, importing, and archiving. This repository can run from a docker container or from the repository.
Stars: ✭ 90 (+20%)
Mutual labels:  ipython, ipython-notebook
Show ast
An IPython notebook plugin for visualizing ASTs.
Stars: ✭ 76 (+1.33%)
Mutual labels:  ipython, ipython-notebook
Sqlcell
SQLCell is a magic function for the Jupyter Notebook that executes raw, parallel, parameterized SQL queries with the ability to accept Python values as parameters and assign output data to Python variables while concurrently running Python code. And *much* more.
Stars: ✭ 145 (+93.33%)
Mutual labels:  ipython, ipython-notebook
Ipytracer
📊 Algorithm Visualizer for IPython/Jupyter Notebook
Stars: ✭ 138 (+84%)
Mutual labels:  ipython, ipython-notebook
Ipywebrtc
WebRTC for Jupyter notebook/lab
Stars: ✭ 171 (+128%)
Mutual labels:  ipython, ipython-notebook
Halo
💫 Beautiful spinners for terminal, IPython and Jupyter
Stars: ✭ 2,532 (+3276%)
Mutual labels:  ipython
Jupyterhub Deploy Teaching
Reference deployment of JupyterHub and nbgrader on a single server
Stars: ✭ 194 (+158.67%)
Mutual labels:  ipython
Algorithm
Leetcode 组队刷题
Stars: ✭ 193 (+157.33%)
Mutual labels:  ipython
panoramas-image-stitching
🖼 Stitching images into 360 panoramas
Stars: ✭ 155 (+106.67%)
Mutual labels:  ipython-notebook
yuuno
Yuuno = VapourSynth + Jupyter
Stars: ✭ 39 (-48%)
Mutual labels:  ipython
Hyperdash Sdk Py
Official Python SDK for Hyperdash
Stars: ✭ 190 (+153.33%)
Mutual labels:  ipython
https://travis-ci.org/jbn/nbmerge.svg?branch=master https://ci.appveyor.com/api/projects/status/69kj3prrrieyp8q2/branch/master?svg=true https://coveralls.io/repos/github/jbn/nbmerge/badge.svg?branch=master

nbmerge: merge / concatenate Jupyter notebooks

Installation

pip install nbmerge

Usage

For the usage as originally specified by @fperez's gist,

nbmerge file_1.ipynb file_2.ipynb file_3.ipynb > merged.ipynb

Alternatively, nbmerge can cursively collect all files in the current directory and below, recursively. After collection, it sorts them lexicographically. You can use a regular expression as a file name predicate. All .ipynb_checkpoints are automatically ignored. And, you can use the -i option to ignore any notebook prefixed with an underscore (think pseudo-private in python).

For example, the following command collects all notebooks in your project that have the word intro in the file name and saves it to a merged file named _merged.ipynb,

nbmerge --recursive -i -p ".*intro.*" -o _merged.ipynb

Finally, you can also instruct the script to demarcate the boundary between each original file with the -b / -boundary [BOUNDARY] flag. The src_nb value in the metadata for the first cell in each original notebook will then contain the path of the original notebook, relative to the cwd at the point of script execution.

More details

Read the docs: here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].