{ "info": { "author": "Jay Goel", "author_email": "jay@classicspecs.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask-MongoMyAdmin\n==================\n\nThis is an Apache2-licensed Flask extension to perform basic queries and\nupdates to MongoDB collections. It is a thin wrapper around pymongo, and\nas such it relies on it for validation and error checking.\n\nThis is a work in progres; I would love for this to become a feature-complete\nfrontend to MongoDB which makes it easy to add on to any flask project.\n\nFeatures\n--------\n\n- Connect to Mongo databases or replica sets\n\n- Browse all databases available to a given connection string\n\n- Create new collections (specify capped, max size, etc)\n\n- Run queries against collections\n\n- Create and edit documents\n\n- Handles AutoReconnect errors and connection string errors\n\nThere are many useful things which are not yet part of this extension.\nPull requests are absolutely welcome.\n\nInstallation\n------------\n\nCouldn't be easier:\n\n.. code-block:: bash\n\n $ pip install Flask-MongoMyAdmin\n\nQuickstart\n----------\n\nAll you need is a valid MongoDB connection URI. This extension can manage\nmultiple databases. You set them via key-value pairs in \n``app.config['MONGOMYADMIN_DATABASES']``.\n\nThe key is just a display name for that mongo connection. You may set it to\nwhatever you would like. The value is a mongo connection string.\n\nHere is a sample Flask app to get started:\n\n.. code-block:: python\n\n from flask import Flask\n from flask.ext.mongomyadmin import MongoMyAdmin\n\n app = Flask(__name__)\n\n app.config['SECRET_KEY'] = 'app secret key'\n\n app.config['MONGOMYADMIN_DATABASES'] = {\n 'local': 'mongodb://127.0.0.1:27017',\n 'remote_qa': 'mongodb://user@pass:mongo.example.com:27017',\n }\n\n m = MongoMyAdmin(app)\n\n @app.route('/')\n def index():\n return 'hello'\n\n if __name__ == '__main__':\n app.run(debug=True)\n\n\nFrom there, navigate to ``http://localhost:5000/MongoMyAdmin`` and you will see\nyour databases.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/classicspecs/Flask-MongoMyAdmin/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "Flask-MongoMyAdmin", "package_url": "https://pypi.org/project/Flask-MongoMyAdmin/", "platform": "any", "project_url": "https://pypi.org/project/Flask-MongoMyAdmin/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/classicspecs/Flask-MongoMyAdmin/" }, "release_url": "https://pypi.org/project/Flask-MongoMyAdmin/0.1/", "requires_dist": null, "requires_python": null, "summary": "Simple MongoDB Administrative Interface for Flask", "version": "0.1" }, "last_serial": 916123, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2d6bb9e5b314a2fe2a41bcd07f282947", "sha256": "95d1d53f2bf802ccc2d55718d7ca52540045fa23decf653d5f14137ba394c588" }, "downloads": -1, "filename": "Flask-MongoMyAdmin-0.1.tar.gz", "has_sig": false, "md5_digest": "2d6bb9e5b314a2fe2a41bcd07f282947", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94481, "upload_time": "2013-11-11T05:26:02", "url": "https://files.pythonhosted.org/packages/96/47/29d4135efa4ebfe9640832c29b2c40346ce7dc59ff3eefbb21757cbb0d55/Flask-MongoMyAdmin-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2d6bb9e5b314a2fe2a41bcd07f282947", "sha256": "95d1d53f2bf802ccc2d55718d7ca52540045fa23decf653d5f14137ba394c588" }, "downloads": -1, "filename": "Flask-MongoMyAdmin-0.1.tar.gz", "has_sig": false, "md5_digest": "2d6bb9e5b314a2fe2a41bcd07f282947", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94481, "upload_time": "2013-11-11T05:26:02", "url": "https://files.pythonhosted.org/packages/96/47/29d4135efa4ebfe9640832c29b2c40346ce7dc59ff3eefbb21757cbb0d55/Flask-MongoMyAdmin-0.1.tar.gz" } ] }