{"id":13937388,"url":"https://github.com/tevino/mongu","last_synced_at":"2025-07-08T15:05:34.774Z","repository":{"id":16170573,"uuid":"18916835","full_name":"tevino/mongu","owner":"tevino","description":":seedling: Yet another Python Object-Document Mapper on top of PyMongo. It's lightweight, intuitive to use and easy to understand.","archived":false,"fork":false,"pushed_at":"2016-07-02T15:34:11.000Z","size":66,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-22T04:29:59.810Z","etag":null,"topics":["mongodb","odm","pymongo","python"],"latest_commit_sha":null,"homepage":"http://mongu.rtfd.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tevino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-18T15:25:48.000Z","updated_at":"2019-09-12T18:53:36.000Z","dependencies_parsed_at":"2022-09-26T21:10:44.115Z","dependency_job_id":null,"html_url":"https://github.com/tevino/mongu","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/tevino/mongu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tevino%2Fmongu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tevino%2Fmongu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tevino%2Fmongu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tevino%2Fmongu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tevino","download_url":"https://codeload.github.com/tevino/mongu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tevino%2Fmongu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262018076,"owners_count":23245598,"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":["mongodb","odm","pymongo","python"],"created_at":"2024-08-07T23:03:33.807Z","updated_at":"2025-07-08T15:05:34.753Z","avatar_url":"https://github.com/tevino.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/tevino/mongu.svg?branch=master)](https://travis-ci.org/tevino/mongu)\n[![Coverage Status](https://coveralls.io/repos/github/tevino/mongu/badge.svg?branch=master)](https://coveralls.io/github/tevino/mongu?branch=master)\n\n\n# Introducing to Mongu\n**Mongu** is yet another Python Object-Document Mapper on top of ``PyMongo``. It's lightweight, intuitive to use and easy to understand.\n\nIf those **heavy and slow layers** have nothing or more than you need, Mongu maybe the one for you.\n\nYou are the only one who knows what you reall need.\n\nTherefor **Mongu does nothing but a skeleton for you to fill**.\n\nActually, if you have ever tried to write your own ODM, you may already implemented parts of Mongu :D\n\n# Installation\n\tpip install mongu\n\n# Dependences\n- pymongo \u003e= 2.7\n\n*Older(not ancient) version should work just fine, but 2.7 is tested.*\n\n# Documentation\n## A really quick example\n\n    c = Client()\n    @c.register_model\n    class User(Model):\n        _database_   = 'test'\n        _collection_ = 'users'\n        _defaults_   = {'is_activated': False}  # default attribute\n\n    \u003e\u003e user = User(name='Mongu')\n    User({'name': 'Mongu', 'is_activated': False})\n    \u003e\u003e user.save()\n    User({'name': 'Mongu', 'is_activated': True, '_id': ObjectId('534f81bd7246ef6955d2388f')})\n\nFor more detailed examples and API: http://mongu.readthedocs.org\n\n# License\nCode and documentation are available according to the MIT License.\n\n# Send feedback!\nIf you thought Mongu is helpful, please [tell me](mailto:mail2tevin@gmail.com), a brif message like “This is what I always wanted” is enough, I would love to know!\n\nOf course by all means feel free to send pull requests or create issues, it's always welcome and appreciated.\n\nThanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftevino%2Fmongu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftevino%2Fmongu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftevino%2Fmongu/lists"}