{"id":19709769,"url":"https://github.com/mongodb-labs/flask-pymongo","last_synced_at":"2025-05-14T00:04:53.791Z","repository":{"id":2110303,"uuid":"3052083","full_name":"mongodb-labs/flask-pymongo","owner":"mongodb-labs","description":"PyMongo support for Flask applications","archived":false,"fork":false,"pushed_at":"2025-05-06T13:33:17.000Z","size":403,"stargazers_count":723,"open_issues_count":6,"forks_count":177,"subscribers_count":31,"default_branch":"main","last_synced_at":"2025-05-06T21:48:38.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"rspec/rspec-rails","license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-12-26T15:14:22.000Z","updated_at":"2025-05-06T13:33:19.000Z","dependencies_parsed_at":"2024-06-18T12:25:38.034Z","dependency_job_id":"4ad672f6-c033-416f-94e8-207e96f64ee1","html_url":"https://github.com/mongodb-labs/flask-pymongo","commit_stats":{"total_commits":233,"total_committers":35,"mean_commits":"6.6571428571428575","dds":0.2532188841201717,"last_synced_commit":"a541d888bcc87f0ab82efa616bb2a730f44f4371"},"previous_names":["mongodb/flask-pymongo","mongodb-labs/flask-pymongo","dcrosta/flask-pymongo"],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-labs%2Fflask-pymongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-labs%2Fflask-pymongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-labs%2Fflask-pymongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-labs%2Fflask-pymongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb-labs","download_url":"https://codeload.github.com/mongodb-labs/flask-pymongo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043312,"owners_count":22004925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T22:01:00.360Z","updated_at":"2025-05-14T00:04:53.656Z","avatar_url":"https://github.com/mongodb-labs.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Flask-PyMongo\n\nPyMongo support for Flask applications. Requires `flask\u003e=3.0` and `pymongo\u003e=4.0`\n\n## Quickstart\n\n```python\nfrom flask import Flask, render_template\nfrom flask_pymongo import PyMongo\n\napp = Flask(__name__)\napp.config[\"MONGO_URI\"] = \"mongodb://localhost:27017/myDatabase\"\nmongo = PyMongo(app)\n\n\n@app.route(\"/\")\ndef home_page():\n    online_users = mongo.db.users.find({\"online\": True})\n    return render_template(\"index.html\", online_users=online_users)\n```\n\n## More Info\n\n- [Flask-PyMongo Documentation](https://flask-pymongo.readthedocs.org/)\n\n- [PyMongo Documentation](https://pymongo.readthedocs.io/en/stable/)\n\n- [Flask Documentation](https://flask.palletsprojects.com/)\n\n- [Quart-Motor (Motor for the Quart Framework)](https://github.com/marirs/quart-motor)\n\n- [Motor Non-Blocking mongodb driver for asyncio applications](https://github.com/mongodb/motor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb-labs%2Fflask-pymongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb-labs%2Fflask-pymongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb-labs%2Fflask-pymongo/lists"}