json2csv
sqlite_protobuf
json2csv | sqlite_protobuf | |
---|---|---|
3 | 2 | |
2,698 | 80 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
JavaScript | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json2csv
-
JSON to Excel
Convert to CSV https://github.com/zemirco/json2csv
-
Should you always wait for write stream to finish?
I just went through a similar process trying to stream large amounts of database records into a csv file. A great help was json2csv. Check out their docs to understand streams.
-
SQLite Plus: all the missing SQLite functions
I read it as "I already have or can easily get a folder of JSON files (each representing a table); I want to open them up in SQLite with nearly zero effort."
That should be hackable with something like json2csv[1], but I imagine the intent is a desire for something supported, rather than awfully hacked up.
1 - https://github.com/zemirco/json2csv
sqlite_protobuf
-
One-liner for running queries against CSV files with SQLite
SQLite's virtual table API (https://www.sqlite.org/vtab.html) makes it possible to access other data structures through the query engine. You don't need to know much if anything about how the database engine executes queries, you only need to implement the callbacks it needs to do its job. A few years ago I wrote an extension to let me search through serialized Protobufs which were stored as blobs in a regular database.
https://github.com/rgov/sqlite_protobuf
-
SQLite Plus: all the missing SQLite functions
Some time ago I joined a project that was recording logs in Protobuf format. I demonstrated that we could log the serialized Protobuf structures to a SQLite database and then use a plugin to query across the message fields: https://github.com/rgov/sqlite_protobuf
Learning how to use the SQLite extension API was a little mind-expanding but it worked like a charm.
What are some alternatives?
sqlite-plus - The ultimate set of SQLite extensions
dflat - Structured Data Store for Mobile
sqlite_ora_functions
json2xlsx - A tool to generate xlsx (Excel Spreadsheet) files from JSON files
sqlite-parquet-vtable - A SQLite vtable extension to read Parquet files
visidata - A terminal spreadsheet multitool for discovering and arranging data
xsv - A fast CSV command line toolkit written in Rust.
q - q - Run SQL directly on delimited files and multi-file sqlite databases
csvq - SQL-like query language for csv