Using Madame is very simple.


Madame needs MongoDB to work properly. To do so, install it from MongoDB’s website.

Basic usage

First, import the module:

>>> from madame import Madame

Then instantiate the Madame class:

>>> app = Madame()

Finally, run it:


Without configuration, your application is read-only and with no schemas. You would probably want to enable some collections. Go to the Tutorial section to see how easy it is to configure Madame applications.

Madame is an easy-to-use RESTful API for Python and MongoDB. You are currently looking at the documentation of the development version.


If you love Madame, consider supporting the author on Gittip:


Feedback is greatly appreciated. If you have any questions, comments, random praise, or anonymous threats, shoot me an email.

Useful Links

Table Of Contents

Related Topics

This Page

Fork me on GitHub