{"id":19316435,"url":"https://github.com/swapnalshahil/csv_intersection","last_synced_at":"2026-05-03T11:33:27.641Z","repository":{"id":57417741,"uuid":"394197302","full_name":"swapnalshahil/csv_intersection","owner":"swapnalshahil","description":"csv_intersection is basically a PyPI Package to get common rows from two tsv/csv files.","archived":false,"fork":false,"pushed_at":"2022-10-02T13:50:41.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-07T11:36:20.427Z","etag":null,"topics":["csv","csv-intersection","package","pypi","python","tsv","tsv-intersection"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/csv-intersection/","language":"Jupyter Notebook","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/swapnalshahil.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}},"created_at":"2021-08-09T07:41:36.000Z","updated_at":"2024-08-22T13:08:10.000Z","dependencies_parsed_at":"2022-08-30T10:12:08.646Z","dependency_job_id":null,"html_url":"https://github.com/swapnalshahil/csv_intersection","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/swapnalshahil/csv_intersection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnalshahil%2Fcsv_intersection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnalshahil%2Fcsv_intersection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnalshahil%2Fcsv_intersection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnalshahil%2Fcsv_intersection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swapnalshahil","download_url":"https://codeload.github.com/swapnalshahil/csv_intersection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnalshahil%2Fcsv_intersection/sbom","scorecard":{"id":861618,"data":{"date":"2025-08-11","repo":{"name":"github.com/swapnalshahil/csv_intersection","commit":"98558652436dccf8f6651555fba52e8cb10a6ec4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/12 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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"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":"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: 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":"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":"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":"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-24T01:28:03.815Z","repository_id":57417741,"created_at":"2025-08-24T01:28:03.816Z","updated_at":"2025-08-24T01:28:03.816Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["csv","csv-intersection","package","pypi","python","tsv","tsv-intersection"],"created_at":"2024-11-10T01:11:23.583Z","updated_at":"2026-05-03T11:33:27.599Z","avatar_url":"https://github.com/swapnalshahil.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csv_intersection\n\n\n## Introduction\ncsv_intersection is basically a PyPI Package to get common rows from two tsv/csv files. Many a time we need common data from two tsv/csv files so using csv_intersection package will prolly solve this problem.\n\nThis package currently have one function `csv_intersection` which returns common rows between two csv/tsv in list of OrderedDict.\n\nDefault delimiter is `\",\"` and default encoding is `\"UTF-8\"`\n\n## Function\n\n```csv_intersection(path_of_tsv1, path_of_tsv2, delimiter, encoding)```\n\n## Table of contents\n* [Setup](#setup)\n* [Usage](#usage)\n* [Dependencies](#dependencies)\n* [Contacts](#contacts)\n\n## Setup\n\n```pip install csv-intersection```\n\n## Usage\n\n```\nfrom csv_intersection import csv_intersection\n\ncommon_rows = csv_intersection(tsv1, tsv2)\n\n# if delimiter is other than \",\"\ncommon_rows = csv_intersection(tsv1,tsv2,delimiter = delimiter_of_file)\n\n# if encoding is different other than UTF-8\ncommon_rows = csv_intersection(tsv1, tsv2, encoding = encoding_of_file)\n\n```\n\n## Dependencies\nIt requires csv module only which is a built-in module in Python.\n\n## Contacts\n* [Author](https://swapnalshahil.github.io/)\n* [Github](https://github.com/swapnalshahil)\n* [Linkedin](https://www.linkedin.com/in/swapnalshahil/)\n* [Twitter](https://twitter.com/eulersgamma)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapnalshahil%2Fcsv_intersection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswapnalshahil%2Fcsv_intersection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapnalshahil%2Fcsv_intersection/lists"}