{"id":22606614,"url":"https://github.com/teitei-tk/sixisles","last_synced_at":"2026-05-03T19:31:58.127Z","repository":{"id":44866882,"uuid":"46977711","full_name":"teitei-tk/SixIsles","owner":"teitei-tk","description":"PyMongo Based ActiveRecord Pattern O/R Mapper","archived":false,"fork":false,"pushed_at":"2022-12-26T19:55:20.000Z","size":9,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T19:06:10.147Z","etag":null,"topics":["activerecord-pattern","mongodb","mongodb-orm","python"],"latest_commit_sha":null,"homepage":null,"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/teitei-tk.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":"2015-11-27T11:52:12.000Z","updated_at":"2017-03-31T09:01:54.000Z","dependencies_parsed_at":"2023-01-31T01:00:18.949Z","dependency_job_id":null,"html_url":"https://github.com/teitei-tk/SixIsles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teitei-tk%2FSixIsles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teitei-tk%2FSixIsles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teitei-tk%2FSixIsles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teitei-tk%2FSixIsles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teitei-tk","download_url":"https://codeload.github.com/teitei-tk/SixIsles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246106689,"owners_count":20724401,"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":["activerecord-pattern","mongodb","mongodb-orm","python"],"created_at":"2024-12-08T14:14:19.992Z","updated_at":"2026-05-03T19:31:58.090Z","avatar_url":"https://github.com/teitei-tk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SixIsles\nPyMongo Based ActiveRecord Pattern O/R Mapper\n\n---\n\n## Dependencies\n* Python2.6 or Later\n* PyMongo \u003e= 3.1.1\n\n## Installation\n```bash\n$ pip install SixIsles\n```\n\n## Example\nAdd Github Repository Documents\n\n```python\nfrom sixIsles import Structure, Document, get_client\nfrom sixIsles.types import ObjectId, String\n\nclass Repository(Document):\n    struct = Structure(\n        _id = ObjectId(),\n        name = String(),\n        author = String(),\n        url = String()\n    )\n\n    class Meta:\n        database = get_client(\"test_db_name\", \"localhost\")\n\ndocument = Repository()\ndocument.name = \"SixIsles\"\ndocument.author = \"teitei-tk\"\ndocument.url = \"https://github.com/teitei-tk/SixIsles\"\ndocument.insert()\n\nor\n\ndocument = Repository({\n    \"name\": \"SixIsles\",\n    \"author\": \"teitei-tk\",\n    \"url\": \"https://github.com/teitei-tk/SixIsles\"\n})\ndocument.insert()\n```\n\n```bash\n$ mongo\n.....\n.....\n\u003e use test_db_name\nswitched to db test_db_name\n\u003e show collections;\nrepository\nsystem.indexes\n\u003e db.repository.find()\n{ \"_id\" : ObjectId(\"565895aacc7474890284fc8d\"), \"url\" : \"https://github.com/teitei-tk/SixIsles\", \"name\" : \"SixIsles\", \"author\" : \"teitei-tk\" }\n\u003e\n```\n\n\n## TODO\n- [ ] Add TestCode and Api Document\n- [ ] Update README\n- [ ] Register CI Tools\n\n\n## License\n* MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteitei-tk%2Fsixisles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteitei-tk%2Fsixisles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteitei-tk%2Fsixisles/lists"}