{"id":27248848,"url":"https://github.com/bakdata/seq2","last_synced_at":"2025-04-10T23:48:17.230Z","repository":{"id":40245991,"uuid":"222417179","full_name":"bakdata/seq2","owner":"bakdata","description":"This library is a extension to the great jOOλ library (https://github.com/jOOQ/jOOL)","archived":false,"fork":false,"pushed_at":"2024-02-27T10:53:29.000Z","size":207,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-10T23:48:13.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/bakdata.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-11-18T10:00:47.000Z","updated_at":"2023-01-31T17:43:02.000Z","dependencies_parsed_at":"2023-11-27T18:49:19.995Z","dependency_job_id":"1142dc4b-9e3d-4c5e-bfb0-e02ea9b5b419","html_url":"https://github.com/bakdata/seq2","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakdata%2Fseq2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakdata%2Fseq2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakdata%2Fseq2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakdata%2Fseq2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bakdata","download_url":"https://codeload.github.com/bakdata/seq2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317727,"owners_count":21083528,"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","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":[],"created_at":"2025-04-10T23:48:16.713Z","updated_at":"2025-04-10T23:48:17.222Z","avatar_url":"https://github.com/bakdata.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://dev.azure.com/bakdata/public/_apis/build/status/bakdata.seq2?branchName=master)](https://dev.azure.com/bakdata/public/_build/latest?definitionId=21\u0026branchName=master)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.bakdata.seq2%3Aseq2\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=com.bakdata.seq2%3Aseq2)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.bakdata.seq2%3Aseq2\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=com.bakdata.seq2%3Aseq2)\n[![Maven](https://img.shields.io/maven-central/v/com.bakdata.seq2/seq2.svg)](https://search.maven.org/search?q=g:com.bakdata.seq2%20AND%20a:seq2\u0026core=gav)\n\n# seq2\n\nThis library is an extension to the great [jOOλ library](https://github.com/jOOQ/jOOL).\nIt mainly provides native handling of pair streams.\n\n## Usage\n\n```java\nfinal Seq2\u003cString\u003e words = Seq2.of(\"foo\", \"bar\", \"foo\");\nfinal Map\u003cString, Integer\u003e wordCounts = words.mapToPair(Function.identity(), s -\u003e 1)\n        .reduceByKey(Integer::sum)\n        .toMap();\nSystem.out.println(wordCounts);\n// {bar=1, foo=2}\n```\n\n## Getting Started\n\nYou can add seq2 via Maven Central.\n\n#### Gradle\n```gradle\ncompile group: 'com.bakdata.seq2', name: 'seq2', version: '1.0.0'\n```\n\n#### Maven\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.bakdata.seq2\u003c/groupId\u003e\n    \u003cartifactId\u003eseq2\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\nFor other build tools or versions, refer to the [latest version in MvnRepository](https://mvnrepository.com/artifact/com.bakdata.seq2/seq2/latest).\n\n## Development\n\nIf you want to contribute to this project, you can simply clone the repository and build it via Gradle.\nAll dependencies should be included in the Gradle files, there are no external prerequisites.\n\n```bash\n\u003e git clone git@github.com:bakdata/seq2.git\n\u003e cd seq2 \u0026\u0026 ./gradlew build\n```\n\nPlease note, that we have [code styles](https://github.com/bakdata/bakdata-code-styles) for Java.\nThey are basically the Google style guide, with some small modifications.\n\n## Contributing\n\nWe are happy if you want to contribute to this project.\nIf you find any bugs or have suggestions for improvements, please open an issue.\nWe are also happy to accept your PRs.\nJust open an issue beforehand and let us know what you want to do and why.\n\n## License\nThis project is licensed under the MIT license.\nHave a look at the [LICENSE](https://github.com/bakdata/seq2/blob/master/LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakdata%2Fseq2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbakdata%2Fseq2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakdata%2Fseq2/lists"}