{"id":22273854,"url":"https://github.com/geeksloth/mongodb-client-simple-demo","last_synced_at":"2026-05-01T10:32:17.715Z","repository":{"id":180127809,"uuid":"569217441","full_name":"geeksloth/MongoDB-client-simple-demo","owner":"geeksloth","description":"A MongoDB client simple demonstration inspired by w3schools's examples","archived":false,"fork":false,"pushed_at":"2022-11-22T12:56:50.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T16:52:14.314Z","etag":null,"topics":["mongodb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geeksloth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-11-22T10:43:51.000Z","updated_at":"2024-11-11T14:14:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"2413d797-b10d-4cf1-9d79-0ae610726861","html_url":"https://github.com/geeksloth/MongoDB-client-simple-demo","commit_stats":null,"previous_names":["geeksloth/mongodb-client-simple-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geeksloth/MongoDB-client-simple-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FMongoDB-client-simple-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FMongoDB-client-simple-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FMongoDB-client-simple-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FMongoDB-client-simple-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geeksloth","download_url":"https://codeload.github.com/geeksloth/MongoDB-client-simple-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FMongoDB-client-simple-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["mongodb"],"created_at":"2024-12-03T13:16:37.886Z","updated_at":"2026-05-01T10:32:17.704Z","avatar_url":"https://github.com/geeksloth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB-client-simple-demo\nA MongoDB client simple demonstration inspired by w3schools's examples\n\nThis script demonstrates the most use functions of [pymongo](https://pymongo.readthedocs.io/en/stable/), which are explained in [w3schools's website](https://www.w3schools.com/python/python_mongodb_getstarted.asp) includings:\ndatabase creation, collection creation, data insertion, finding, querying, sorting, deletion, dropping collection, etc.\n\n# Getting started\n1. You must have your own **mongodb** service running to serve this demo, or you can easily run it by follow [this repo](https://github.com/geeksloth/mongodb-simple-docker-compose) with few steps\n2. Clone and get into this repo\n```bash\ngit clone https://github.com/geeksloth/MongoDB-client-simple-demo.git \u0026\u0026 cd MongoDB-client-simple-demo\n```\n3. Install some requirements:\n```bash\npython3 -m pip install --upgrade pip \u0026\u0026 python3 -m pip install pymongo\n```\n4. [Recommend] Modify ```server```, ```username```, and ```password``` to your *MongoDB* server. Or you cal leave it default if you use [the guide](https://github.com/geeksloth/mongodb-simple-docker-compose).\n5. Run the demo:\n```bash\npython3 demo.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeksloth%2Fmongodb-client-simple-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeeksloth%2Fmongodb-client-simple-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeksloth%2Fmongodb-client-simple-demo/lists"}