Skip to main content

IPython Notebook Manager in MongoDB

Setting up

First, run

pip install MongoNotebookManager

Then, when you start ipython notebook, make sure you have the following config settings in place. This module will save your notebooks and checkpoints to mongodb, and supports an unlimited number of checkpoints.

required

NotebookApp.notebook_manager_class=mongo_notebook_manager.MongoNotebookManager

optional

Below are the arguments, with their default values

mongo_uri

MongoNotebookManager.mongo_uri='mongodb://localhost:27017/'

replica_set

MongoNotebookManager.replica_set=''

database_name

MongoNotebookManager.database_name='ipython'

notebook_collection

MongoNotebookManager.notebook_collection='notebooks'

checkpoint_collection

MongoNotebookManager.checkpoint_collection='checkpoints'

checkpoints_history

MongoNotebookManager.checkpoints_history=True

Why did I build this?

I was setting up IPython Notebook on heroku, and ran into the problem where heroku will remove the extra files after a while. Having used mongodb quite thoroughly before, and knowing the existence of the free mongodb host (up to 500mb, which I believe is more than enough for most users of IPython Notebook), mongolab, I decided to write a module that will enable persistence of the notebooks on heroku, hence this plugin.

Bugs?

This is still in Alpha stage, although most of the basic features are working. If you do find any bugs, please report issues to the repo on Github.

Features?

If there are additional features that you are looking for, please create an issue over at our repo on Github, and we’ll prioritize and get working on it.

Pull requests?

If you wish to make things better, or fix one of the issues(bug/feature), please submit a pull request. However, please follow the AngularJS commit message guideline for your commit messages.

Release files for MongoNotebookManager 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MongoNotebookManager 1.0.0
File Size Uploaded
MongoNotebookManager-1.0.0.tar.gz 7.2 kB Details

Release files / MongoNotebookManager-1.0.0.tar.gz

Download URL MongoNotebookManager-1.0.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
30c1a74a4bb4cca6d351f5e7de7827ceb493649023310ea00e0d112b32bab313
BLAKE2b-256 checksum
How to use checksums
7766f113120901875c7bfbd7e857a28bbeb33f338f16a4569db11d8faa404fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page