{"id":13858542,"url":"https://github.com/koppen/csv_query","last_synced_at":"2025-11-11T18:45:37.510Z","repository":{"id":66947574,"uuid":"6541851","full_name":"koppen/csv_query","owner":"koppen","description":"Command line tool to query CSV data using SQL","archived":false,"fork":false,"pushed_at":"2022-01-13T10:20:11.000Z","size":49,"stargazers_count":24,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-02-13T02:06:32.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/koppen.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,"publiccode":null,"codemeta":null}},"created_at":"2012-11-05T09:25:22.000Z","updated_at":"2024-08-05T03:27:06.817Z","dependencies_parsed_at":"2023-02-22T19:30:30.272Z","dependency_job_id":null,"html_url":"https://github.com/koppen/csv_query","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koppen%2Fcsv_query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koppen%2Fcsv_query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koppen%2Fcsv_query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koppen%2Fcsv_query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koppen","download_url":"https://codeload.github.com/koppen/csv_query/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248768046,"owners_count":21158578,"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":"2024-08-05T03:02:12.875Z","updated_at":"2025-11-11T18:45:32.473Z","avatar_url":"https://github.com/koppen.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"CSV Query - Use SQL to query CSV data\n=====================================\n\nCSV Query is a command line tool that allows you to run SQL queries on data\nstored in CSV files.\n\nFor example:\n\n    $ csvq --select \"count(*)\" --where \"name='Jakob'\" sample.csv\n    count(*)\n    --------\n           1\n\n[![Build Status](https://secure.travis-ci.org/koppen/csv_query.png?branch=master)](https://travis-ci.org/koppen/csv_query) [![Code Climate](https://codeclimate.com/github/koppen/csv_query/badges/gpa.svg)](https://codeclimate.com/github/koppen/csv_query)\n\nAssumptions\n-----------\n\nThe first row of data is assumed to be headers.\n\nAll fields are created as `VARCHAR(255)`, which hopefully works for most cases.\n\nBehind the scenes\n-----------------\n\nCSV Query loads the CSV data into an in-memory SQLite database. Thus, the SQL\nqueries need to be SQLite-flavored where applicable.\n\nAlternative/related projects\n----------------------------\n\n* [csvq.py - Python variant that does almost the same thing](http://www.gl1tch.com/~lukewarm/software/csvq/)\n* [CSVql - A query language for CSV files](https://github.com/ondrasej/CSVql)\n\nLicense\n-------\n\nLicensed under the MIT License. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoppen%2Fcsv_query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoppen%2Fcsv_query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoppen%2Fcsv_query/lists"}