A MongoDB kernel for Jupyter Lab. Mainly for educational purposes.
This kernel wraps the Mongo shell using pexpect and leaves the heavy lifting to metakernel. It is heavily based on iMongo by Gustavo Bezerra.
TODO: Change to more metakernel infrastructure as https://github.com/Jaesin/psysh_kernel/blob/master/psysh_kernel/kernel.py doc; https://github.com/Calysto/metakernel/blob/master/metakernel/replwrap.py
IMongo requires Jupyter and MongoDB.
To install Jupyter, this IMongo Kernel and all other dependencies, use pip install
:
$ git+https://github.com/boun/imongo#egg=imongo-kernel
- Implement code completion functionality
- Fix long command issue
- Send Mongo shell Javascript errors/exceptions to stderr
A part of this work was supported by the European Social Fund