{"id":18657397,"url":"https://github.com/alexitx/ap-parse","last_synced_at":"2026-05-16T17:07:46.467Z","repository":{"id":57411027,"uuid":"468455391","full_name":"alexitx/ap-parse","owner":"alexitx","description":"Parser for iw and iwinfo on OpenWrt devices","archived":false,"fork":false,"pushed_at":"2022-10-18T09:23:05.000Z","size":18,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-22T10:39:21.714Z","etag":null,"topics":["device","iw","iwinfo","openwrt","parser","parsing","python","python3","station","wifi"],"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/alexitx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-03-10T17:58:40.000Z","updated_at":"2024-11-27T02:23:21.000Z","dependencies_parsed_at":"2022-08-28T01:14:06.879Z","dependency_job_id":null,"html_url":"https://github.com/alexitx/ap-parse","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/alexitx/ap-parse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexitx%2Fap-parse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexitx%2Fap-parse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexitx%2Fap-parse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexitx%2Fap-parse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexitx","download_url":"https://codeload.github.com/alexitx/ap-parse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexitx%2Fap-parse/sbom","scorecard":{"id":181774,"data":{"date":"2025-08-11","repo":{"name":"github.com/alexitx/ap-parse","commit":"a2aa49e13c46b1dd1bad2b6f70695d2953779aa2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/7 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:113: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:123: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/alexitx/ap-parse/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:54","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:55","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:99","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:100","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:101","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:105","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:33","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:31","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of  12 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/alexitx/ap-parse/releases/61607089","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/alexitx/ap-parse/releases/61607089"],"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-16T18:58:56.203Z","repository_id":57411027,"created_at":"2025-08-16T18:58:56.204Z","updated_at":"2025-08-16T18:58:56.204Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33111500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["device","iw","iwinfo","openwrt","parser","parsing","python","python3","station","wifi"],"created_at":"2024-11-07T07:28:05.949Z","updated_at":"2026-05-16T17:07:46.449Z","avatar_url":"https://github.com/alexitx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ap-parse\n\nParser for iw and iwinfo on OpenWrt devices. Currently supports only device list and connected\nstations data. Output from iw and iwinfo on other platforms might work, but it's not tested.\n\n\n## Table of contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [CLI](#cli)\n  - [API](#api)\n- [License](#license)\n\n\n## Installation\n\n```sh\npython -m pip install -U ap-parse\n```\n\n\n## Usage\n\nLog in to the device via SSH and run the the command of choice. Feed the output to ap-parse either\nprogrammatically or via the CLI.\n\n- List devices with iw:\n  ```sh\n  iw dev\n  ```\n\n- List stations with iw:\n  ```sh\n  iw dev \u003cdevice name\u003e station dump\n  ```\n\n- List devices with iwinfo:\n  ```sh\n  iwinfo\n  ```\n\n- List stations with iwinfo:\n  ```sh\n  iwinfo \u003cdevice name\u003e assoclist\n  ```\n\n### CLI\n\nPipe the command output to ap-parse. Example for iwinfo device list:\n```\nssh \u003cuser@host\u003e iwinfo | python -m apparse iwinfo device\n```\n\n| Argument | Type | Values              | Description                              |\n|----------|------|---------------------|------------------------------------------|\n| backend  | str  | `iw`, `iwinfo`      | Utility used to generate the output data |\n| type     | str  | `device`, `station` | Type of the output data                  |\n\n### API\n\nSave the command output to a file and pass it as a string to the appropriate parser.\nExample for iwinfo device list:\n```sh\nssh \u003cuser@host\u003e iwinfo \u003e output.txt\n```\n\n```python\nimport apparse\n\nwith open('output.txt', 'r', encoding='utf-8') as f:\n    raw_data = f.read()\n\nparsed_data = apparse.parse_iwinfo_station(raw_data)\nprint(parsed_data)\n```\n\nIn case you wish to add or remove fields or modify regexes, subclass one of the parser classes under\nits respective module `apparse.*_parser`.\n\n\n## License\n\nMIT license. See [LICENSE][license] for more information.\n\n\n[license]: https://github.com/alexitx/ap-parse/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexitx%2Fap-parse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexitx%2Fap-parse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexitx%2Fap-parse/lists"}