{"id":31547382,"url":"https://github.com/oca/odoorpc","last_synced_at":"2025-10-04T15:59:52.406Z","repository":{"id":37397009,"uuid":"105557098","full_name":"OCA/odoorpc","owner":"OCA","description":"Python module to pilot your Odoo servers through JSON-RPC.","archived":false,"fork":false,"pushed_at":"2024-05-29T12:50:22.000Z","size":1125,"stargazers_count":264,"open_issues_count":29,"forks_count":128,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-09-03T15:57:14.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pythonhosted.org/OdooRPC/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OCA.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"OCA"}},"created_at":"2017-10-02T16:24:17.000Z","updated_at":"2025-08-25T21:35:19.000Z","dependencies_parsed_at":"2023-02-01T02:45:36.831Z","dependency_job_id":"fa1ba074-8487-4cf5-aa83-2e69e7c3d81a","html_url":"https://github.com/OCA/odoorpc","commit_stats":{"total_commits":195,"total_committers":13,"mean_commits":15.0,"dds":"0.18974358974358974","last_synced_commit":"c93ebd0221e1bf6a6ca380d614b07c59cf11732e"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/OCA/odoorpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCA%2Fodoorpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCA%2Fodoorpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCA%2Fodoorpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCA%2Fodoorpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OCA","download_url":"https://codeload.github.com/OCA/odoorpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCA%2Fodoorpc/sbom","scorecard":{"id":103463,"data":{"date":"2025-08-11","repo":{"name":"github.com/OCA/odoorpc","commit":"c93ebd0221e1bf6a6ca380d614b07c59cf11732e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 2/14 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Lesser General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/OCA/.github/SECURITY.md:1","Info: Found linked content: github.com/OCA/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/OCA/.github/SECURITY.md:1","Info: Found text in security policy: github.com/OCA/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T10:38:58.084Z","repository_id":37397009,"created_at":"2025-08-15T10:38:58.084Z","updated_at":"2025-08-15T10:38:58.084Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278335453,"owners_count":25970129,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":[],"created_at":"2025-10-04T15:59:50.094Z","updated_at":"2025-10-04T15:59:52.389Z","avatar_url":"https://github.com/OCA.png","language":"Python","funding_links":["https://github.com/sponsors/OCA"],"categories":[],"sub_categories":[],"readme":"=======\nOdooRPC\n=======\n\n.. image:: https://img.shields.io/pypi/v/OdooRPC.svg\n    :target: https://pypi.python.org/pypi/OdooRPC/\n    :alt: Latest Version\n\n.. image:: https://travis-ci.org/OCA/odoorpc.svg?branch=master\n    :target: https://travis-ci.org/OCA/odoorpc\n    :alt: Build Status\n\n.. image:: https://img.shields.io/pypi/pyversions/OdooRPC.svg\n    :target: https://pypi.python.org/pypi/OdooRPC/\n    :alt: Supported Python versions\n\n.. image:: https://img.shields.io/pypi/l/OdooRPC.svg\n    :target: https://pypi.python.org/pypi/OdooRPC/\n    :alt: License\n\n**OdooRPC** is a Python package providing an easy way to\npilot your **Odoo** servers through `RPC`.\n\nFeatures supported:\n    - access to all data model methods (even ``browse``) with an API similar\n      to the server-side API,\n    - use named parameters with model methods,\n    - user context automatically sent providing support for\n      internationalization,\n    - browse records,\n    - execute workflows,\n    - manage databases,\n    - reports downloading,\n    - JSON-RPC protocol (SSL supported),\n\nHow does it work? See below:\n\n.. code-block:: python\n\n    import odoorpc\n\n    # Prepare the connection to the server\n    odoo = odoorpc.ODOO('localhost', port=8069)\n\n    # Check available databases\n    print(odoo.db.list())\n\n    # Login\n    odoo.login('db_name', 'user', 'passwd')\n\n    # Current user\n    user = odoo.env.user\n    print(user.name)            # name of the user connected\n    print(user.company_id.name) # the name of its company\n\n    # Simple 'raw' query\n    user_data = odoo.execute('res.users', 'read', [user.id])\n    print(user_data)\n\n    # Use all methods of a model\n    if 'sale.order' in odoo.env:\n        Order = odoo.env['sale.order']\n        order_ids = Order.search([])\n        for order in Order.browse(order_ids):\n            print(order.name)\n            products = [line.product_id.name for line in order.order_line]\n            print(products)\n\n    # Update data through a record\n    user.name = \"Brian Jones\"\n\nSee the documentation for more details and features.\n\nSupported Odoo server versions\n==============================\n\n`OdooRPC` is tested on all major releases of `Odoo` (starting from  8.0).\n\nSupported Python versions\n=========================\n\n`OdooRPC` support Python 2.7, 3.7+.\n\nLicense\n=======\n\nThis software is made available under the `LGPL v3` license.\n\nGenerate the documentation\n==========================\n\nTo generate the documentation, you have to install `Sphinx` documentation\ngenerator::\n\n    pip install sphinx\n\nThen, you can use the ``build_doc`` option of the ``setup.py``::\n\n    python setup.py build_doc\n\nThe generated documentation will be in the ``./doc/build/html`` directory.\n\nChanges in this version\n=======================\n\nConsult the ``CHANGELOG`` file.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n\u003chttps://github.com/OCA/odoorpc/issues\u003e`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nContributors\n------------\n\n* Sébastien Alix \u003csebastien.alix@osiell.com\u003e\n\nDo not contact contributors directly about support or help with technical issues.\n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n   :alt: Odoo Community Association\n   :target: https://odoo-community.org\n\nThis package is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foca%2Fodoorpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foca%2Fodoorpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foca%2Fodoorpc/lists"}