{"html_url": "https://github.com/simonw/datasette/issues/370#issuecomment-1261930179", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/370", "id": 1261930179, "node_id": "IC_kwDOBm6k_c5LN4bD", "user": {"value": 72577720, "label": "MichaelTiemannOSC"}, "created_at": "2022-09-29T08:17:46Z", "updated_at": "2022-09-29T08:17:46Z", "author_association": "CONTRIBUTOR", "body": "Just watched this video which demonstrates the integration of *any* webapp into JupyterLab: https://youtu.be/FH1dKKmvFtc\r\n\r\nMaybe this is the answer?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 377155320, "label": "Integration with JupyterLab"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1262913145", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/297", "id": 1262913145, "node_id": "IC_kwDOCGYnMM5LRoZ5", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-09-29T22:54:13Z", "updated_at": "2022-09-29T22:54:13Z", "author_association": "OWNER", "body": "After reviewing `sqlite-utils insert --help` I'm confident that MOST of these options wouldn't make sense for a \"fast\" moder that just supports CSV and works by piping directly to the `sqlite3` binary:\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/d792dad1cf5f16525da81b1e162fb71d469995f3/docs/cli-reference.rst#L251-L279\r\n\r\nI'm going to implement a separate command instead.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 944846776, "label": "Option for importing CSV data using the SQLite .import mechanism"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1262914416", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/297", "id": 1262914416, "node_id": "IC_kwDOCGYnMM5LRotw", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-09-29T22:56:53Z", "updated_at": "2022-09-29T22:56:53Z", "author_association": "OWNER", "body": "Potential names/designs:\r\n\r\n- `sqlite-utils fast data.db rows rows.csv`\r\n- `sqlite-utils insert-fast data.db rows rows.csv`\r\n- `sqlite-utils fast-csv data.db rows rows.csv`\r\n\r\nOr more interestingly... what if it could accept multiple CSV files to create multiple tables?\r\n\r\n- `sqlite-utils fast data.db rows.csv other.csv`\r\n\r\nWould still need to support creating tables with different names though. Maybe like this:\r\n\r\n- `sqlite-utils fast data.db -t mytable rows.csv -t othertable other.csv`\r\n\r\nI seem to be leaning towards `fast` as the command name, but as a standalone command name it's a bit meaningless - how do we know that's about CSV import and not about fast querying or similar?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 944846776, "label": "Option for importing CSV data using the SQLite .import mechanism"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1262915322", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/297", "id": 1262915322, "node_id": "IC_kwDOCGYnMM5LRo76", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-09-29T22:57:31Z", "updated_at": "2022-09-29T22:57:42Z", "author_association": "OWNER", "body": "Maybe `sqlite-utils fast-csv` is right? Not entirely clear that's an insert though as opposed to a faster version of in-memory querying in the style of `sqlite-utils memory`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 944846776, "label": "Option for importing CSV data using the SQLite .import mechanism"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1262917059", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/297", "id": 1262917059, "node_id": "IC_kwDOCGYnMM5LRpXD", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-09-29T22:59:28Z", "updated_at": "2022-09-29T22:59:28Z", "author_association": "OWNER", "body": "I quite like `sqlite-utils fast-csv` - I think it's clear enough what it does, and running `--help` can clarify if needed.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 944846776, "label": "Option for importing CSV data using the SQLite .import mechanism"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1262918833", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/297", "id": 1262918833, "node_id": "IC_kwDOCGYnMM5LRpyx", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-09-29T23:02:52Z", "updated_at": "2022-09-29T23:02:52Z", "author_association": "OWNER", "body": "The other nice thing about having this as a separate command is that I can implement a tiny subset of the overall `sqlite-utils insert` features at first, and then add additional features in subsequent releases.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 944846776, "label": "Option for importing CSV data using the SQLite .import mechanism"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1262920929", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/297", "id": 1262920929, "node_id": "IC_kwDOCGYnMM5LRqTh", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-09-29T23:06:44Z", "updated_at": "2022-09-29T23:06:44Z", "author_association": "OWNER", "body": "Currently the only other use of `-t` is for this:\r\n```\r\n -t, --table Output as a formatted table\r\n```\r\nSo I think it's OK to use it to mean something slightly different for this command, since `sqlite-utils insert` doesn't do any output of data in any format.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 944846776, "label": "Option for importing CSV data using the SQLite .import mechanism"}, "performed_via_github_app": null}