{"id":20132313,"url":"https://github.com/mysiar/fixed-width-text-parser","last_synced_at":"2025-10-09T07:12:00.617Z","repository":{"id":54759701,"uuid":"299302494","full_name":"mysiar/fixed-width-text-parser","owner":"mysiar","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-31T12:42:32.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-04T18:56:01.193Z","etag":null,"topics":["parser","python3","seismic","sps"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/FixedWidthTextParser","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/mysiar.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":"2020-09-28T12:31:50.000Z","updated_at":"2023-09-08T18:12:57.000Z","dependencies_parsed_at":"2022-08-14T02:00:42.526Z","dependency_job_id":null,"html_url":"https://github.com/mysiar/fixed-width-text-parser","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/mysiar/fixed-width-text-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Ffixed-width-text-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Ffixed-width-text-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Ffixed-width-text-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Ffixed-width-text-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysiar","download_url":"https://codeload.github.com/mysiar/fixed-width-text-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysiar%2Ffixed-width-text-parser/sbom","scorecard":{"id":671262,"data":{"date":"2025-08-11","repo":{"name":"github.com/mysiar/fixed-width-text-parser","commit":"6220fe2955cda10ac7353658baddc7530bd658da"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/28 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":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":"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":"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/mysiar/fixed-width-text-parser/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mysiar/fixed-width-text-parser/python-package.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:30","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 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":"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: 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":-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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 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-21T20:08:52.108Z","repository_id":54759701,"created_at":"2025-08-21T20:08:52.109Z","updated_at":"2025-08-21T20:08:52.109Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000983,"owners_count":26082971,"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-09T02:00:07.460Z","response_time":59,"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":["parser","python3","seismic","sps"],"created_at":"2024-11-13T20:53:11.129Z","updated_at":"2025-10-09T07:12:00.551Z","avatar_url":"https://github.com/mysiar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fixed width text parser to array\n\nParsing different defined text formats to array data\n\n**Parser** - parse anything according to the format definition\n\nFor use cases check **_tests_** folder\n\nFormat definition:\n \n```python\n\ndefinition = {\n    'FIELD_1': [0, 1, 'string'],\n    'FIELD_2': [1, 10, 'float'],\n    'FIELD_3': [11, 10, 'float'],\n    'FIELD_4': [23, 1, 'integer'],\n    'FIELD_5': [24, 2, 'string'],\n    'FIELD_6': [26, 4, 'integer', 0],\n    'FIELD_7': [30, 4, 'integer', None],\n    'FIELD_8': [34, 4, 'float', None],\n    'FIELD_9': [38, 4, 'float', 0.0],\n}\n```\n\nField definition ```'FIELD_6': [26, 4, 'integer', 0]``` \n* 'FIELD_6' - field name\n* 26 - index of text line where the field starts (count starts from 0)\n* 4 - field length in characters \n* string - field value type (allowed types: string, integer, float)\n* 0 - default value if empty in text line record\n\nFor every data type default value is always None if field results as empty string.\nFor every data type it is possible to set default value in format definition.\n\n### Specific format parsers\n* **Seismic.SpsParser.Sps21Parser** - SPS format version num.     SPS 2.1, JAN2006\n* **Seismic.VibratorParser.ApsParser** \n* **Seismic.VibratorParser.CogParser** \n* **Seismic.VibratorParser.VapsParser** \n\n### File formats\n\n* [SPS](doc/SPS.md)\n* [Vibrator](doc/Vibrator.md)\n\n### References\n* [SPS - Shell Processing Support](https://en.wikipedia.org/wiki/Shell_Processing_Support)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysiar%2Ffixed-width-text-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysiar%2Ffixed-width-text-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysiar%2Ffixed-width-text-parser/lists"}