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.

Filename, size & hash SHA256 hash help File type Python version Upload date
IPyMongo-0.0dev-20120914.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page