Skip to main content

IPython extension and wrapper for using with MongoDB

Project description

This module installs the ipymongo script and IPython extension, which allows you to use the following new magic commands in IPython:

  • use <database>

  • connect [ <mongodb uri> ]

  • login [ <username> <password> ]

You also get access to the following global variables:

  • db (current database)

  • conn (current mongodb connection)

Your prompt is also updated to show the current database name.

The ipymongo command takes an optional mongodb:// uri. If not supplied, it will connect to mongodb://localhost:27017/test.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

IPyMongo-0.0dev-20120914.tar.gz (2.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page