Query a CSV file from the commandline
Project description
cqlite
Query a CSV file from the commandline
Installation
pipx install cqlite
Usage
In memory query:
cqlite <csv_file> <query>
e.g.
cqlite fakedata.csv "SELECT * FROM csv WHERE name LIKE '%Tommy% AND date_of_birth < '1980-01-01';"
(note filedata is loaded into a table called "csv").
Save `<csv_file>.csv as a SQLite database (<csv_file>.db):
cqlite <csv_file> --persist
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cqlite-0.2.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
cqlite-0.2.0-py3-none-any.whl
(4.6 kB
view hashes)