{"id":45055438,"url":"https://github.com/luismesas/pydobot","last_synced_at":"2026-02-19T09:40:46.379Z","repository":{"id":50441904,"uuid":"87156224","full_name":"luismesas/pydobot","owner":"luismesas","description":"Python library for Dobot Magician","archived":false,"fork":false,"pushed_at":"2021-03-05T07:30:38.000Z","size":73,"stargazers_count":119,"open_issues_count":17,"forks_count":67,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-09-14T16:26:42.481Z","etag":null,"topics":["dobot","dobot-magician","python-library","robotics"],"latest_commit_sha":null,"homepage":"","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/luismesas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-04T06:47:10.000Z","updated_at":"2025-09-06T10:31:02.000Z","dependencies_parsed_at":"2022-09-08T06:31:57.367Z","dependency_job_id":null,"html_url":"https://github.com/luismesas/pydobot","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/luismesas/pydobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismesas%2Fpydobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismesas%2Fpydobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismesas%2Fpydobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismesas%2Fpydobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luismesas","download_url":"https://codeload.github.com/luismesas/pydobot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismesas%2Fpydobot/sbom","scorecard":{"id":603595,"data":{"date":"2025-08-11","repo":{"name":"github.com/luismesas/pydobot","commit":"2ff8d7e1318ac9b7bc32bd33ff327d343f44927c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"Code-Review","score":0,"reason":"Found 1/17 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"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":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"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":"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 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-21T01:04:30.304Z","repository_id":50441904,"created_at":"2025-08-21T01:04:30.304Z","updated_at":"2025-08-21T01:04:30.304Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29609525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["dobot","dobot-magician","python-library","robotics"],"created_at":"2026-02-19T09:40:43.944Z","updated_at":"2026-02-19T09:40:46.370Z","avatar_url":"https://github.com/luismesas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/luismesas/pydobot.svg?style=svg)](https://circleci.com/gh/luismesas/pydobot)\n\nPython library for Dobot Magician\n===\n\nBased on Communication Protocol V1.1.4 (_latest version [here](https://www.dobot.cc/downloadcenter.html?sub_cat=72#sub-download)_)\n\n\nInstallation\n---\n\nInstall driver from https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers.\n\n```\npip install pydobot\n```\n\nExample\n---\n\n```python\nfrom serial.tools import list_ports\n\nimport pydobot\n\navailable_ports = list_ports.comports()\nprint(f'available ports: {[x.device for x in available_ports]}')\nport = available_ports[0].device\n\ndevice = pydobot.Dobot(port=port, verbose=True)\n\n(x, y, z, r, j1, j2, j3, j4) = device.pose()\nprint(f'x:{x} y:{y} z:{z} j1:{j1} j2:{j2} j3:{j3} j4:{j4}')\n\ndevice.move_to(x + 20, y, z, r, wait=False)\ndevice.move_to(x, y, z, r, wait=True)  # we wait until this movement is done before continuing\n\ndevice.close()\n```\n\nMethods\n---\n\n* **Dobot(port, verbose=False)** Creates an instance of dobot connected to given serial port.\n    * **port**: _string_ with name of serial port to connect\n    * **verbose**: _bool_ will print to console all serial comms\n\n* **.pose()** Returns the current pose of dobot, as a tuple (x, y, z, r, j1, j2, j3, j4)\n    * **x**: _float_ current x cartesian coordinate\n    * **y**: _float_ current y cartesian coordinate\n    * **z**: _float_ current z cartesian coordinate\n    * **r**: _float_ current effector rotation\n    * **j1**: _float_ current joint 1 angle\n    * **j2**: _float_ current joint 2 angle\n    * **j3**: _float_ current joint 3 angle\n    * **j4**: _float_ current joint 4 angle\n* **.move_to(x, y, z, r, wait=False)** queues a translation in dobot to given coordinates\n    * **x**: _float_ x cartesian coordinate to move\n    * **y**: _float_ y cartesian coordinate to move\n    * **z**: _float_ z cartesian coordinate to move\n    * **r**: _float_ r effector rotation\n    * **wait**: _bool_ waits until command has been executed to return to process\n* **.speed(velocity, acceleration)** changes velocity and acceleration at which the dobot moves to future coordinates\n    * **velocity**: _float_ desired translation velocity\n    * **acceleration**: _float_ desired translation acceleration\n* **.suck(enable)**\n    * **enable**: _bool_ enables/disables suction\n* **.grip(enable)**\n    * **enable**: _bool_ enables/disables gripper\n* **.wait(ms)** adds a waiting period to the internal queue of messages\n    * **ms**: _int_ number of milliseconds to wait\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluismesas%2Fpydobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluismesas%2Fpydobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluismesas%2Fpydobot/lists"}