{"html_url": "https://github.com/simonw/datasette/issues/667#issuecomment-585285753", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/667", "id": 585285753, "node_id": "MDEyOklzc3VlQ29tbWVudDU4NTI4NTc1Mw==", "user": {"value": 870184, "label": "xrotwang"}, "created_at": "2020-02-12T16:18:22Z", "updated_at": "2020-02-12T16:18:22Z", "author_association": "NONE", "body": "@simonw fwiw, here's the plugin I implemented to support CLDF datasets: https://github.com/cldf/datasette-cldf/blob/master/README.md\r\nIt's a bit of a hybrid in that it does both, building the SQLite database **and** extending datasette by exploting what we know about the data format - so it may not be worth listing it with the other plugins.\r\n\r\nHaving tools like datasette available definitely helps selling people on package formats like CLDF (or CSVW), many thanks for this!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 562787785, "label": "Allow injecting configuration data from plugins"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/667#issuecomment-585109972", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/667", "id": 585109972, "node_id": "MDEyOklzc3VlQ29tbWVudDU4NTEwOTk3Mg==", "user": {"value": 870184, "label": "xrotwang"}, "created_at": "2020-02-12T09:21:22Z", "updated_at": "2020-02-12T09:21:22Z", "author_association": "NONE", "body": "I think I found a better way to implement my use case: I wrap the `datasette serve` call into my own cli, which\r\n- creates the SQLite from CSV data\r\n- writes `metadata.json` for datasette\r\n- determines suitable config like `max_page_size`\r\n- then calls `datasette serve`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 562787785, "label": "Allow injecting configuration data from plugins"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/352#issuecomment-584203999", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/352", "id": 584203999, "node_id": "MDEyOklzc3VlQ29tbWVudDU4NDIwMzk5OQ==", "user": {"value": 870184, "label": "xrotwang"}, "created_at": "2020-02-10T16:18:58Z", "updated_at": "2020-02-10T16:18:58Z", "author_association": "NONE", "body": "I don't want to re-open this issue, but I'm wondering whether it would be possible to include the full row for which a specific cell is to be rendered in the hook signature. My use case are rows where custom rendering would need access to multiple values (specifically, rows containing the constituents of interlinear glossed text (IGT) in separate columns, see https://github.com/cldf/cldf/tree/master/components/examples).\r\n\r\nI could probably cobble this together with custom SQL and the sql-to-html plugin. But having a full row within a `render_cell` implementation seems a lot simpler.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 345821500, "label": "render_cell(value) plugin hook"}, "performed_via_github_app": null}