Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

No project description provided

Project description

Muffin-Mongo – MongoDB support for Muffin framework.

Build Status


  • python >= 3.3


Muffin-Mongo should be installed using pip:

pip install muffin-mongo


Add muffin_mongo to PLUGINS in your Muffin Application configuration.

Or install it manually like this:

mongo = muffin_mongo.Plugin(**{'options': 'here'})

app = muffin.Application('test')

Appllication configuration options

MONGO_HOST – Connection IP address ( MONGO_PORT – Connection port (27017) MONGO_DB – Connection database (None) MONGO_USERNAME – Connection username (None) MONGO_PASSWORD – Connection password (None) MONGO_POOL – Connection pool size (1)


def view(request):
    foo =  # foo database
    test = foo.test      # test collection

    # fetch some documents
    docs = yield from test.find(limit=10)
    return list(docs)

Bug tracker

If you have any suggestions, bug reports or annoyances please report them to the issue tracker at


Development of Muffin-Mongo happens at:


  • klen (Kirill Klenov)


Licensed under a MIT license.

Kirill Klenov
pos. Severny 8-3
MO, Istra, 143500

Project details

Download files

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

Files for muffin-mongo, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size muffin_mongo-0.1.0-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size muffin-mongo-0.1.0.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

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