Giter Club home page Giter Club logo

mongo_notebook_manager's Introduction

#MongoNotebookManager

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=False

##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.

mongo_notebook_manager's People

Contributors

laurenceputra avatar pl31 avatar

Watchers

Marcello Azambuja avatar Rafael Floriano da Silva avatar Evandro Flores avatar Emerson Macedo avatar Igor Macaubas avatar  avatar Marcos Petry avatar Danilo Moura avatar James Cloos avatar Vivien avatar  avatar Frederico Pinto avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.