Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!



Client library for MongoPypi, a MongoDB clone of pypi metadata.

MongoPypi let you dig into Pypi metadata as much as you want without killing our dear

GO Ahead! Overload it with the weirdest aggregate().

It's kept up to date to provide fresh data.


To make the python packaging tools better, we need to know our ecosystem, to improve PyPi we must understand where are the weakness and what we can move easily. I hope MongoPypi can help.

Question: what is the number of packages reaching 1000 downloads not hosted on

The catalog-sig mailinglist is waiting for this information, and many others


pip install mongopypi


  • Connection to MongoDB
import mongopypi.model
mp = mongopypi.model.client()
  • Fetch a project{'name': 'boto'})
  • Fetch all releases of a project
django_releases = mp.Release.find({'name': 'Django'})
print([r['metadata']['license'] for r in django_releases])

Now for some really useful requests, take a look at the aggregate framework.

Available Commands

$ pypi_changelog

... Tail -f on changelog

$ pypi_project_changelog boto

... Show the changelog of a project

$ pypi_project pyramid
$ pypi_release pyramid 1.4

... Shows metadata of a project and release

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.