{"id":17119155,"url":"https://github.com/regadas/scio-cats","last_synced_at":"2025-10-07T20:20:14.255Z","repository":{"id":37196711,"uuid":"249713303","full_name":"regadas/scio-cats","owner":"regadas","description":"leverage cats type classes and data types in scio pipelines","archived":false,"fork":false,"pushed_at":"2025-03-06T00:27:15.000Z","size":1143,"stargazers_count":5,"open_issues_count":31,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T06:11:22.737Z","etag":null,"topics":["apache-beam","cats","functional-programming","scala","scio"],"latest_commit_sha":null,"homepage":"https://gh.regadas.io/scio-cats/latest/api/io/regadas/scio/cats/syntax/index.html","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/regadas.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":"2020-03-24T13:19:19.000Z","updated_at":"2024-05-19T12:27:27.000Z","dependencies_parsed_at":"2024-04-19T01:28:47.544Z","dependency_job_id":"71324435-a4af-4e08-98b5-ce4c7976f394","html_url":"https://github.com/regadas/scio-cats","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/regadas/scio-cats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Fscio-cats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Fscio-cats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Fscio-cats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Fscio-cats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regadas","download_url":"https://codeload.github.com/regadas/scio-cats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Fscio-cats/sbom","scorecard":{"id":768752,"data":{"date":"2025-08-11","repo":{"name":"github.com/regadas/scio-cats","commit":"0c82b496fe04c3ad179c0c0414a1be67bafc6717"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml: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":"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/ci.yaml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/regadas/scio-cats/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/regadas/scio-cats/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/regadas/scio-cats/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/regadas/scio-cats/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/regadas/scio-cats/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/regadas/scio-cats/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/regadas/scio-cats/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/regadas/scio-cats/ci.yaml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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-23T01:38:43.027Z","repository_id":37196711,"created_at":"2025-08-23T01:38:43.027Z","updated_at":"2025-08-23T01:38:43.027Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278838826,"owners_count":26054803,"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-07T02:00:06.786Z","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":["apache-beam","cats","functional-programming","scala","scio"],"created_at":"2024-10-14T17:56:25.734Z","updated_at":"2025-10-07T20:20:14.197Z","avatar_url":"https://github.com/regadas.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scio-cats\n\n![build](https://github.com/regadas/scio-cats/workflows/ci/badge.svg)\n[![GitHub license](https://img.shields.io/github/license/regadas/scio-cats.svg)](./LICENSE)\n[![Maven Central](https://img.shields.io/maven-central/v/io.regadas/scio-cats_2.12.svg)](https://maven-badges.herokuapp.com/maven-central/io.regadas/scio-cats_2.12)\n\n`scio-cats` is a collection of additional functions for [scio](https://github.com/spotify/scio) [SCollection](https://javadoc.io/static/com.spotify/scio-core_2.12/0.8.3/com/spotify/scio/values/SCollection.html) that leverage [cats](https://typelevel.org/cats) type classes and data types.\n\n## Compatibility table\n\n| scio-cats | scio  |\n|-----------|-------|\n| 0.1.3     | 0.9.3 |\n| 0.1.2     | 0.9.0 |\n| 0.1.1     | 0.8.4 |\n| 0.1.0     | 0.8.3 |\n\n## Quick Start\n\nTo use `scio-cats` add the following dependencies to your `build.sbt`:\n\n```scala\nlibraryDependencies ++= Seq(\n  \"io.regadas\" %% \"scio-cats\" % \"\u003cversion\u003e\"\n)\n```\n\n### Examples\n\nThese are just few examples that show some of nicities of the added functions. Most of these functions have scaladoc with an example. Have a [look](https://gh.regadas.io/scio-cats/latest/api/io/regadas/scio/cats/syntax/SCollectionOps.html).\n\n#### Maping and filtering of `F[A]`\n\n```scala\n// before\n\nscioContext\n  .parallelize(Seq(Some(1), None, Some(2)))\n  .map(_.map(_ + 1)) // Some(2), None, Some(3)\n  .filter(_.exists(_ \u003e 2)) // Some(3)\n\n// after\n\nimport cats.implicits._\nimport io.regadas.scio.cats.syntax._\n\nscioContext\n  .parallelize(Seq(Some(1), None, Some(2)))\n  .map_(_ + 1) // Some(2), None, Some(3)\n  .filter_(_ \u003e 2) // Some(3)\n```\n\n#### Creating tuples over `F[A]`\n\n```scala\n// before\nscioContext\n  .parallelize(Seq(Some(1), None, Some(2)))\n  // here you could also use `cats` but it doesn't look as nice\n  // .map(_.tupleRight(1))\n  .map(_.map(_ -\u003e 1)) // Some((1, 1)), Some((2, 1))\n\n// after\n\nimport cats.implicits._\nimport io.regadas.scio.cats.syntax._\n\nscioContext\n  .parallelize(Seq(Some(1), None, Some(2)))\n  // tupleLeft is also available\n  .tupleRight(1) // Some((1, 1)), Some((2, 1))\n```\n\n#### Output to the console (similar to `debug`)\n\n```scala\n// before\nscioContext\n  .parallelize(Seq(Some(1), None, Some(2)))\n  .debug() // it will use toString()\n\n// after\n\nimport cats.implicits._\nimport io.regadas.scio.cats.syntax._\n\nscioContext\n  .parallelize(Seq(Some(1), None, Some(2)))\n  .showStdOut // leverages Show type class\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregadas%2Fscio-cats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregadas%2Fscio-cats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregadas%2Fscio-cats/lists"}