spl.js
spyql
Our great sponsors
spl.js | spyql | |
---|---|---|
10 | 23 | |
158 | 902 | |
- | - | |
4.6 | 0.0 | |
about 1 month ago | over 1 year ago | |
JavaScript | Jupyter Notebook | |
GNU General Public License v3.0 only | 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.
spl.js
- SpatiaLite (SQLite extension) for browser and node
-
Exploring SQLite Implementations for the Web in 2023
Use spatialite WASM https://github.com/jvail/spl.js Can read geopackage and Shapefiles and GeoJSON and KML and GPX and perform operations
-
Manipulate CSV files in your browser using SQL
I use SPATIALITE WEBASSEMBLY let's you use CSV or excel or JSON or sqlite or gpkg or shapefiles or KML in the browser https://github.com/jvail/spl.js
-
Online tool to process GeoJSON data using JavaScript
I recommend you add spatialite webassembly so you can run spatial functions operations https://github.com/jvail/spl.js Support geopackage vector features and esri mobile geodatabase (sqlite) and shapefiles and kml and output GEOJSON for map view (ExportGeojson2)
-
geopackage sqlite
https://github.com/jvail/spl.js The geopackage pub.dev package could not work for me reading vector geometry from. Geopackage
-
Cascading slider filters and exposing SQL query builder on leaflet
Take a look at spatialite web assembly you can do full spatialite functions and operations on GeoJSON data or Shapefile or geopackage and even KNN NEAREST And point in polygon. No server needed run in the browser https://github.com/jvail/spl.js
-
If I have a GeoJSON file of a certain city's wards, how would I figure out which ward I'm in based on my lat/long coordinates?
We've recently been using more client-side (browser based approaches for this type of work) that have more horsepower and functionality than TurfJS) we've successfully used both https://github.com/jvail/spl.js Web Assembly Version
- A SQLite extension for reading large files line-by-line
- SpatiaLite: Extends SQLite core to support Spatial SQL capabilities
-
Combining several feature layers into 1 layer using ArcGIS JavaScript
https://github.com/jvail/spl.js Your use case could be good for doing this in spatialite Create a new geopackage Import GeoJSON from featureserver or mapserver layers -f=GeoJSON for each layer or use virtualgeojson You can make the import happen for new records or changes And then create new table and append the records Then you can execute SQL queries Counts or Distinct or where clauses
spyql
-
Fq: Jq for Binary Formats
I prefer a SQL-like format. Itβs not as complete but it cover most of the day-to-day use cases. Take a look at https://github.com/dcmoura/spyql (I am the author). Congrats on fq!
-
Command-line data analytics made easy with SPyQL
SPyQL documentation: spyql.readthedocs.io
-
This Week In Python
spyql β Query data on the command line with SQL-like SELECTs powered by Python expressions
- Command-line data analytics made easy
-
Jc β JSONifies the output of many CLI tools
This is great!
I am the author of SPyQL [1]. Combining JC with SPyQL you can easily query the json output and run python commands on top of it from the command-line :-) You can do aggregations and so forth in a much simpler and intuitive way than with jq.
I just wrote a blogpost [2] that illustrates it. It is more focused on CSV, but the commands would be the same if you were working with JSON.
[1] https://github.com/dcmoura/spyql
- The fastest command-line tools for querying large JSON datasets
-
Working with more than 10gb csv
You can import the data into a PostgreSQL/MySQL/SQLite/... database and then query the database. However, even with the right choice of indexes, it might take a while to run queries on a table with hundreds of millions of records. You can easily import your data to these databases with SpyQL: $ spyql "SELECT * FROM csv TO sql(table=my_table_name) | sqlite3 my.db" (you would need to create the table my_table_name before running the command).
-
ClickHouse Cloud is now in Public Beta
https://github.com/dcmoura/spyql/blob/master/notebooks/json_...
And ClickHouse looks like a normal relational database - there is no need for multiple components for different tiers (like in Druid), no need for manual partitioning into "daily", "hourly" tables (like you do in Spark and Bigquery), no need for lambda architecture... It's refreshing how something can be both simple and fast.
- A SQLite extension for reading large files line-by-line
-
I want to convert a large JSON file into Tabular Format.
I thought this library was pretty nifty for json. It's also relatively fast compared to most json parsers: https://github.com/dcmoura/spyql
What are some alternatives?
rtree.c - An R-tree implementation in C
prql - PRQL is a modern language for transforming data β a simple, powerful, pipelined SQL replacement
datasette-lite - Datasette running in your browser using WebAssembly and Pyodide
malloy - Malloy is an experimental language for describing data relationships and transformations.
sqlite-lines - A SQLite extension for reading large files line-by-line (NDJSON, logs, txt, etc.)
tresql - Shorthand SQL/JDBC wrapper language, providing nested results as JSON and more
geojsonscript - GeoJSON scripting environment in the web browser
Preql - An interpreted relational query language that compiles to SQL.
prosto - Prosto is a data processing toolkit radically changing how data is processed by heavily relying on functions and operations with functions - an alternative to map-reduce and join-groupby
pxi - π§ pxi (pixie) is a small, fast, and magical command-line data processor similar to jq, mlr, and awk.
partiql-lang-kotlin - PartiQL libraries and tools in Kotlin.
octosql - OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.