{"id":34063220,"url":"https://github.com/joaomg/teed","last_synced_at":"2026-04-08T17:32:04.193Z","repository":{"id":49402366,"uuid":"344148158","full_name":"joaomg/teed","owner":"joaomg","description":"Telco engineering data library","archived":false,"fork":false,"pushed_at":"2024-12-16T21:07:23.000Z","size":169,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T03:18:41.679Z","etag":null,"topics":["bulkcm","parsing","telco","xml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joaomg.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}},"created_at":"2021-03-03T14:08:58.000Z","updated_at":"2024-12-16T21:00:39.000Z","dependencies_parsed_at":"2024-06-08T07:41:15.748Z","dependency_job_id":"73bc0c66-6929-461b-9564-3949c9e91290","html_url":"https://github.com/joaomg/teed","commit_stats":{"total_commits":72,"total_committers":4,"mean_commits":18.0,"dds":0.05555555555555558,"last_synced_commit":"fd46301d0eddc11b727d09a948a68cc1de94cb86"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/joaomg/teed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomg%2Fteed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomg%2Fteed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomg%2Fteed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomg%2Fteed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaomg","download_url":"https://codeload.github.com/joaomg/teed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomg%2Fteed/sbom","scorecard":{"id":525732,"data":{"date":"2025-08-11","repo":{"name":"github.com/joaomg/teed","commit":"0ea3696a3cf324386b4271ce215dfb7ea618c005"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/11 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":"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":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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:23","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:24","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/pull-request.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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/joaomg/teed/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/joaomg/teed/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/joaomg/teed/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull-request.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/joaomg/teed/pull-request.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull-request.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/joaomg/teed/pull-request.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/pull-request.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/pull-request.yml:30","Info:   0 out of   5 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":"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 Affero 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":"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 'main'"],"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":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2023-238 / GHSA-5wvp-7f3h-6wmm","Warn: Project is vulnerable to: PYSEC-2024-161"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","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-20T04:18:15.919Z","repository_id":49402366,"created_at":"2025-08-20T04:18:15.919Z","updated_at":"2025-08-20T04:18:15.919Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31566801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["bulkcm","parsing","telco","xml"],"created_at":"2025-12-14T05:15:03.993Z","updated_at":"2026-04-08T17:32:04.169Z","avatar_url":"https://github.com/joaomg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# teed\n\n[![Registry](https://img.shields.io/static/v1?label=pipy\u0026message=v0.0.8.2\u0026color=informational)](https://pypi.python.org/pypi/teed)\n[![Codebase](https://img.shields.io/badge/github-main-brightgreen)](https://github.com/joaomg/teed)\n\nTelco engineering data library\n\nProbe and transform raw telco files into CSV.\n\n## A simple BulkCm file parsing\n\n```shell\npip install teed\npython -m teed bulkcm parse data/bulkcm.xml data\nParsing data/bulkcm.xml\nCreated data/ManagedElement.csv\nCreated data/ManagementNode.csv\nCreated data/SubNetwork.csv\nTime: 0:00:00.000856\n```\n\n## Install from source\n\n```shell\ngit clone https://github.com/joaomg/teed.git\ncd teed\npip install -e .\n```\n\n## Probe a file\n\n```shell\npython -m teed bulkcm probe data/bulkcm_with_vsdatacontainer.xml\n```\n\n## Parse a file output it's content to CSV files\n\n```shell\npython -m teed bulkcm parse data/bulkcm_empty.xml data\npython -m teed bulkcm parse data/bulkcm_with_header_footer.xml data\npython -m teed bulkcm parse data/bulkcm_with_vsdatacontainer.xml data\n```\n\n## Usage\n\nBeside command-line teed can be used as a library:\n\n```python\nfrom teed import bulkcm, meas\n\n## bulkcm\nstream = bulkcm.BulkCmParser.stream_to_csv(\"data\")\nbulkcm.parse(\"data/bulkcm.xml\", \"data\", stream)\n\n## meas\nmeas.parse(\"data/mdc*xml\", \"data\")\n```\n\nThe bulkcm parser extracts content from a single file.\n\nWhile the meas parser, in a single run, can process any number of XML files using wildcards and directory recursion.\n\nThe bulkcm and meas parsers also differ on CSV file creation:\n\n- bulkcm deletes previously existing CSV files\n\n- meas appends to existing CSV files\n\nTake notice of these differences when calling the parsers from shell.\n\nOr using them in data pipelines.\n\n## Documentation\n\nProbe, split and extract configuration content from [bulkcm](https://github.com/joaomg/teed/blob/main/teed/BULKCM.md) XML files.\n\nExtract performance data from [meas](https://github.com/joaomg/teed/blob/main/teed/MEAS.md) XML files.\n\nHow to [build](https://github.com/joaomg/teed/blob/main/BUILD.md) teed.\n\n## License\n\nThe teed library is licensed under:\n\nGNU Affero General Public License v3.0\n\n## On ETSI references and usage rights\n\nhttps://www.etsi.org/intellectual-property-rights\n\nhttps://www.etsi.org/images/files/IPR/etsi-ipr-policy.pdf\n\n## Background\n\nThe teed library aims to be a comprehensive parser toolkit for telecommunications engineering data.\n\nIt's inspired by [frictionless-py](https://github.com/frictionlessdata/frictionless-py).\n\nIn fact, a production ready data pipeline can naturally glue together teed and frictionless-py.\n\nThe former extracting content from telco raw files to CSV.\n\nAnd the later validating, cleaning and transforming data into a query ready system (parquet, RDBMS).\n\n    +---------------+\n    |Telco raw files|\n    |               |\n    |  .xml  .asn1  |\n    +---------------+\n            |\n            |   teed (extract)\n            V\n    +---------------+\n    | Tabular files |\n    |               |\n    |      CSV      |\n    |    Parquet    |\n    +---------------+\n            |\n            |   frictionless-py and others (clean, validate, transform, publish)\n            V\n    +---------------+\n    |    Dataset    |\n    |     RDBMs     |\n    |    Iceberg    |\n    |     Trino     |\n    +---------------+\n\nMuch alike to the work done by PUDL, with [Frictionless Data](https://frictionlessdata.io/) itself, in [Frictionless Public Utility Data - A Pilot Study](https://frictionlessdata.io/blog/2020/03/18/frictionless-data-pilot-study).\n\nTake a look at [PUDL](https://github.com/catalyst-cooperative/pudl) code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaomg%2Fteed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaomg%2Fteed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaomg%2Fteed/lists"}