{"id":20285841,"url":"https://github.com/tpkn/filtercsv","last_synced_at":"2026-04-18T00:32:29.254Z","repository":{"id":74204161,"uuid":"434027995","full_name":"tpkn/filtercsv","owner":"tpkn","description":"CLI filters the contents of the csv file according to the filters from the another file. ","archived":false,"fork":false,"pushed_at":"2021-12-02T00:20:14.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T15:53:11.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpkn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-02T00:16:30.000Z","updated_at":"2021-12-02T00:19:58.000Z","dependencies_parsed_at":"2023-02-25T19:00:58.640Z","dependency_job_id":null,"html_url":"https://github.com/tpkn/filtercsv","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tpkn/filtercsv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Ffiltercsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Ffiltercsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Ffiltercsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Ffiltercsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpkn","download_url":"https://codeload.github.com/tpkn/filtercsv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Ffiltercsv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31951329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-14T14:29:11.644Z","updated_at":"2026-04-18T00:32:29.236Z","avatar_url":"https://github.com/tpkn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# filtercsv\r\n\r\n\r\nCLI filters the contents of the csv file according to the filters from the another file. Made to process big files by a lots of filters.\r\n\r\nBy default, the results include lines that match the filters. Add `--exclude` flag to exclude lines matching filters.\r\n\r\n```text\r\n+---------------------+---------------+------------------+\r\n| \u003cinput.csv\u003e         | \u003cfilters.csv\u003e | \u003coutput\u003e         |\r\n+---------------------+---------------+------------------+\r\n| ID,City             | 901007        | ID,City          |\r\n| 901023,Chelyabinsk  | 901055        | 901007,Habarovsk |\r\n| 901019,Ekaterinburg | 999999        | 901055,Izhevsk   |\r\n| 901007,Habarovsk    |               |                  |\r\n| 901055,Izhevsk      |               |                  |\r\n| 901009,Kaliningrad  |               |                  |\r\n| 901035,Krasnoyarsk  |               |                  |\r\n+---------------------+---------------+------------------+\r\n```\r\n\r\n## Usage\r\n\r\n```shell\r\ncat \u003cinput.csv\u003e | filtercsv [-options] \u003e \u003coutput\u003e\r\n```\r\n\r\n\r\n\r\n## Options\r\n\r\n```text\r\n  -i                   Source csv file path (if you are not satisfied with pipes)\r\n  -d                   Fields delimiter (default: \",\")\r\n  -f, --filters        File with a list of filters\r\n  -c, --column         Column index (starting from 1)\r\n  -h, --skip-header    Keep header intact (default: false)\r\n  -e, --exclude        Inversed filtering (default: false)\r\n  --help               Help\r\n  --cpu                Max CPU cores (default: max)\r\n  -v, --version        Print current version number\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkn%2Ffiltercsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpkn%2Ffiltercsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkn%2Ffiltercsv/lists"}