{"id":37741834,"url":"https://github.com/numat/productivity","last_synced_at":"2026-01-16T14:11:01.307Z","repository":{"id":35055017,"uuid":"201286361","full_name":"numat/productivity","owner":"numat","description":"Python interface and command-line tool for Productivity Series PLCs.","archived":false,"fork":false,"pushed_at":"2026-01-15T22:34:09.000Z","size":188,"stargazers_count":9,"open_issues_count":10,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-16T01:51:21.478Z","etag":null,"topics":["driver","plc","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numat.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-08-08T15:29:40.000Z","updated_at":"2025-12-03T04:11:25.000Z","dependencies_parsed_at":"2023-12-21T21:22:39.058Z","dependency_job_id":"af7f6040-6c94-436a-913f-ac2892b20238","html_url":"https://github.com/numat/productivity","commit_stats":{"total_commits":87,"total_committers":7,"mean_commits":"12.428571428571429","dds":0.6206896551724138,"last_synced_commit":"68ab8b47a956316efa29431f8bfd11774da58549"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/numat/productivity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numat%2Fproductivity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numat%2Fproductivity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numat%2Fproductivity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numat%2Fproductivity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numat","download_url":"https://codeload.github.com/numat/productivity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numat%2Fproductivity/sbom","scorecard":{"id":676386,"data":{"date":"2025-08-11","repo":{"name":"github.com/numat/productivity","commit":"4e9302d9964724b04f4485e5c484f54c900c752f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-package.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/numat/productivity/python-package.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:40","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:41","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:42","Info:   1 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v2.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":"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"}}]},"last_synced_at":"2025-08-21T21:37:35.698Z","repository_id":35055017,"created_at":"2025-08-21T21:37:35.698Z","updated_at":"2025-08-21T21:37:35.698Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","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":["driver","plc","python"],"created_at":"2026-01-16T14:10:58.769Z","updated_at":"2026-01-16T14:11:01.299Z","avatar_url":"https://github.com/numat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Productivity\n============\n\n##### NOTE: This is in very early stages of development.\n\nPython ≥3.8 driver and command-line tool for [AutomationDirect Productivity Series PLCs](https://www.automationdirect.com/adc/overview/catalog/programmable_controllers/productivity_series_controllers).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://www.automationdirect.com/images/overviews/p-series-cpus_400.jpg\" /\u003e\n\u003c/p\u003e\n\nInstallation\n============\n\n```\npip install productivity\n```\n\nUsage\n=====\n\n### PLC Configuration\n\nThis driver uses Modbus TCP/IP for communication. Unlike the ClickPLC, modbus\naddresses need to be manually configured in the Productivity PLC firmware (see\n[manual](https://cdn.automationdirect.com/static/manuals/p2userm/p2userm.pdf)).\n\nTo use this driver, go to `Write Program → Tag Database`, scroll down to the values\nyou care about, and double click the `Mod Start` cell of each value to assign an address.\nThen, go to `File → Export → Tags` to export a csv file. The file is used here so\nyou don't need to remember the addresses.\n\n### Command Line\n\nTo print the tags and their values, simply call the library with the PLC IP address and the tags file.\n```\n$ productivity the-plc-ip-address path/to/tags.csv\n```\n\nUse --set to set values on the PLC:\n```\n$ productivity the-plc-ip-address path/to/tags.csv -s \"{int_test: 4, float_test: 4.45, string_test: foo}\"\n```\nThe --set parameter takes [YAML](https://learnxinyminutes.com/docs/yaml/), a simple data format that allows you to easily set multiple tags at once.\n\nSee `productivity --help` for more.\n\n### Python\n\nThis driver uses Python ≥3.5's async/await syntax to asynchronously communicate with\na Productivity2000 PLC. For example (note that asyncio.run() requires Python \u003e=3.7):\n\n```python\nimport asyncio\nfrom productivity import ProductivityPLC\n\nasync def run():\n    async with ProductivityPLC('the-plc-ip-address', 'path/to/tags.csv') as plc:\n        print(await plc.get())\n\nasyncio.run(run())\n```\n\nIt is also possible to set tag values:\n```python\nasync def run():\n    async with ProductivityPLC('the-plc-ip-address', 'path/to/tags.csv') as plc:\n        await plc.set(start=True, setpoint=1.1)\n\nasyncio.run(run())\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumat%2Fproductivity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumat%2Fproductivity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumat%2Fproductivity/lists"}