{"id":17001469,"url":"https://github.com/dharmendrasha/odoo_python","last_synced_at":"2026-05-18T00:34:05.851Z","repository":{"id":40578981,"uuid":"487335118","full_name":"dharmendrasha/odoo_python","owner":"dharmendrasha","description":"odoo_helper","archived":false,"fork":false,"pushed_at":"2023-03-12T05:05:21.000Z","size":3787,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T06:11:17.214Z","etag":null,"topics":["class","database","helper","odo","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/odoo-helper/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dharmendrasha.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-30T17:07:24.000Z","updated_at":"2022-05-01T06:41:01.000Z","dependencies_parsed_at":"2024-11-28T18:32:08.124Z","dependency_job_id":"625bff59-31f3-4f5f-a5a2-95350c71f85f","html_url":"https://github.com/dharmendrasha/odoo_python","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dharmendrasha/odoo_python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmendrasha%2Fodoo_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmendrasha%2Fodoo_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmendrasha%2Fodoo_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmendrasha%2Fodoo_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dharmendrasha","download_url":"https://codeload.github.com/dharmendrasha/odoo_python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmendrasha%2Fodoo_python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["class","database","helper","odo","python3"],"created_at":"2024-10-14T04:25:01.838Z","updated_at":"2026-05-18T00:34:05.819Z","avatar_url":"https://github.com/dharmendrasha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odoo_python - Database\n\nThis package will help to connect odoo database. It converts ``xmlrpc`` based api into into simple functions.\n\nPlease give it a star on github if you like it.\n\n[github repo](https://github.com/dharmendrasha/odoo_python)\n\n[Dharmendra Soni](https://github.com/dharmendrasha)\n\n## How to install\n\n```bash\npip install odoo-helper\n```\n\n## How to use\n\n```python\nfrom odoo_helper import api\n```\n\n## Initialize it\n\n```python\nodoo = api(\n    self.url = 'host'\n    self.db = 'database'\n    self.user = 'user'\n    self.password = 'password'\n)\n```\n\n## Get a version\n\n```python\nodoo.version() # 1.1\n```\n\n## Get a Client\n\n```python\nodoo.client() # xmlrpc.client\n```\n\n## Get a authenticate\n\n```python\nodoo.authenticate() # boolean\n```\n\n## Check access to a certain model\n\n```python\nodoo.check_access(\n    model: str,\n    right: str = 'check_access_rights',\n    chmod: List[str] = ['read'],\n    raise_exception: bool = True,\n) # boolean\n```\n\n## search record in the model\n\n```python\nodoo.search(\n    model: str,\n     condition: List[List[list]] = [[]], \n     limit: int = -1, \n     offset: int = -1\n     ) # any\n```\n\n## search record in the model and returns their ids\n\n```python\nodoo.search(\n    model: str,\n     condition: List[List[list]] = [[]], \n     limit: int = -1, \n     offset: int = -1\n     ) # any\n```\n\n## read record in the model and returns their row\n\n```python\nodoo.records(\n    model: str,\n     condition: List[List[list]] = [[]], \n     limit: int = -1, \n     offset: int = -1\n     ) # any\n```\n\n## count record in the model\n\n```python\nodoo.count_records(\n    model: str, \n    condition: List[List[list]] = [[]]\n    ): # any\n```\n\n## check if data exists or not\n\n```python\nodoo.fields_get(\n    model: str, \n    condition: List[List[list]] = [[]], \n    attributes: List[str] = []\n    ): # any\n```\n\n## search the table and fetch the records from model\n\n```python\nodoo.fields_get(\n    self, model: str, \n    condition: List[List[list]] = [[]], \n    fields: List[str] = [], \n    limit: int = -1,\n    offset: int = -1\n    ): # any\n```\n\n## creates a records\n\n```python\nodoo.create(\n    model: str, \n    data: list = []\n    ): # any\n```\n\n## updates a records\n\n```python\nodoo.update(\n    model: str, \n    id: List[int], \n    value: dict\n    ):\n```\n\n## delete a records\n\n```python\nodoo.delete(\n   model: str, \n   condtion: List[List[list]] = [[]]\n    ):\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmendrasha%2Fodoo_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdharmendrasha%2Fodoo_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmendrasha%2Fodoo_python/lists"}