awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
harelba avatar

harelba/q

0
View on GitHub↗
10,353 stars·423 forks·Python·gpl-3.0·22 viewsharelba.github.io/q↗

Q

q is a command-line utility for the processing, filtering, and aggregation of tabular text and database files using standard SQL syntax. It functions as a query engine that treats CSV and TSV files, as well as standard input, as relational database tables.

The tool distinguishes itself by providing a persistent cache layer that stores processed tabular data in a binary format to accelerate repeated queries on large datasets. It also maps individual filenames or stream identifiers to relational table names, enabling SQL joins across disparate text files.

The project covers a broad range of data analysis capabilities, including automated schema detection for column types, tabular output formatting, and the ability to export processed in-memory datasets into physical SQLite database files. It integrates directly into Unix pipelines by accepting tabular data via standard input.

Features

  • Data Pipeline Tools - Functions as a command-line tool that orchestrates the processing of tabular data from pipes to various export formats.
  • SQL Query Interfaces - Enables executing standard SQL queries against delimited text files by treating filenames or standard input as database tables.
  • Automatic Type Detection - Identifies data types for each column automatically to ensure numeric comparisons and aggregations function correctly.
  • Data Joins - Combines data from different files using join operations to link datasets based on shared columns.
  • Standard Input Ingestion - Integrates with the shell by treating the stdin stream as a queryable table within the SQL execution context.
  • Shell Integration - Integrates SQL querying directly into Unix shell workflows by accepting tabular data from standard input.
  • SQL Engines - Acts as a relational query processor that treats CSV and TSV files as tables for SQL execution.
  • In-Memory Virtualization - Treats text files and standard input as temporary relational tables by loading them into a volatile SQLite instance.
  • Schema Inference - Analyzes input files to determine column names from headers and infer data types for every field.
  • Relational Transformations - Provides the ability to join and reshape delimited text files using standard SQL logic for reports and processing.
  • Tabular Data Processors - Implements a utility for joining, filtering, and aggregating delimited text data using standard SQL syntax.
  • SQL Command Line Interfaces - Runs SQL queries on CSV or TSV files directly from the terminal to extract insights without a database server.
  • Virtual Table Mappings - Maps filenames and stream identifiers to relational table names to enable SQL joins across disparate files.
  • Tabular Data Type Inference - Automatically assigns SQL data types to tabular columns by analyzing initial rows.
  • Persistent Binary Caches - Stores processed tabular data in a persistent binary format to accelerate repeated queries on large datasets.
  • Tabular Data Caching - Stores processed tabular data in a binary format to bypass repetitive parsing of large raw text files.
  • SQLite Integration - Provides direct support for running SQL queries against physical SQLite database files.
  • Tabular Data Caching - Converts raw text files into persistent database formats to speed up repeated queries on large volumes of data.
  • Command Line Utilities - Executes SQL queries on CSV and TSV files.
  • Text-to-SQLite - Listed in the “Text-to-SQLite” section of the Awesome Sqlite awesome list.

Star history

Star history chart for harelba/qStar history chart for harelba/q

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Q

These projects share indexed features with Q. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • alasql/alasqlA

    AlaSQL/alasql

    7,278View on GitHub↗

    AlaSQL is a JavaScript SQL database engine that allows for the filtering, grouping, and joining of in-memory object arrays and JSON data. It functions as an in-memory SQL database and client-side data processor, enabling the execution of SQL statements against JavaScript arrays and external data sources in both browser and server environments. The project serves as a universal data query tool capable of performing relational joins across diverse sources, such as merging Google Spreadsheets, SQLite files, and remote APIs into a single result set. It also acts as an IndexedDB SQL wrapper, allow

    JavaScript
    View on GitHub↗7,278
  • dinedal/textqldinedal avatar

    dinedal/textql

    9,109View on GitHub↗

    TextQL is a command line SQL query engine designed to execute relational queries directly against structured text files, such as CSV and TSV, without requiring a database import. It functions as a relational text file analyzer and a CSV processor that treats plain text files as virtual tables for filtering, joining, and aggregating data. The tool is built as a pipe-compatible data transformation utility, allowing it to process data from standard input and output formatted datasets. It enables relational joins across multiple files or directories within a single query to analyze relationships

    Go
    View on GitHub↗9,109
  • wireservice/csvkitwireservice avatar

    wireservice/csvkit

    6,390View on GitHub↗

    csvkit is a composable Unix-style command-line toolkit for converting, filtering, and analyzing CSV files directly from the terminal. It provides a suite of focused single-purpose commands that can be combined via pipes to build complex data processing workflows, with a modular architecture that includes a column-type inference engine for automatically detecting data types and a streaming-pipeline design for efficient handling of tabular data. The toolkit distinguishes itself through its SQL-engine abstraction layer, which allows users to run SQL queries directly against CSV files without req

    Python
    View on GitHub↗6,390
  • saulpw/visidatasaulpw avatar

    saulpw/visidata

    8,834View on GitHub↗

    VisiData is a terminal-based interactive data analysis tool and browser designed for exploring, filtering, and sorting large tabular datasets. It functions as a structured data inspector that loads and flattens complex formats like JSON, XML, and PCAP into interactive sheets, as well as a terminal file manager for navigating directories and performing staged filesystem operations. The project distinguishes itself by rendering data visualizations, such as scatter plots and histograms, directly in the terminal using Unicode Braille characters. It provides a Python-based data wrangling environme

    Pythonclicsvdatajournalism
    View on GitHub↗8,834
Compare all 30 related projects→

Frequently asked questions

What does harelba/q do?

q is a command-line utility for the processing, filtering, and aggregation of tabular text and database files using standard SQL syntax. It functions as a query engine that treats CSV and TSV files, as well as standard input, as relational database tables.

What are the main features of harelba/q?

The main features of harelba/q are: Data Pipeline Tools, SQL Query Interfaces, Automatic Type Detection, Data Joins, Standard Input Ingestion, Shell Integration, SQL Engines, In-Memory Virtualization.

Which projects share features with harelba/q?

Projects with overlapping indexed features include: alasql/alasql — AlaSQL is a JavaScript SQL database engine that allows for the filtering, grouping, and joining of in-memory object… dinedal/textql — TextQL is a command line SQL query engine designed to execute relational queries directly against structured text… wireservice/csvkit — csvkit is a composable Unix-style command-line toolkit for converting, filtering, and analyzing CSV files directly… saulpw/visidata — VisiData is a terminal-based interactive data analysis tool and browser designed for exploring, filtering, and sorting… maxteabag/sqlit — Sqlit is a terminal-based SQL client and database explorer designed for executing queries and managing database… dlt-hub/dlt — dlt is a Python data ingestion tool and ETL pipeline framework designed to fetch data from diverse sources and persist…