dataconvert: spreadsheets to SQL seeds, layouts from config, row cap, SCHEMA.md
Converts CSV, xlsx/xls/ods, directories, ZIPs and globs into one INSERT file per table. Producer-specific layouts (header/data rows found by a marker cell) and sheet naming live in a gitignored dataconvert.json, with dataconvert-example.json as the template. --max-rows samples each table and SCHEMA.md records columns, types, row counts and full sizes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
14
soleprint/station/tools/dataconvert/pyproject.toml
Normal file
14
soleprint/station/tools/dataconvert/pyproject.toml
Normal file
@@ -0,0 +1,14 @@
|
||||
[project]
|
||||
name = "dataconvert"
|
||||
version = "0.1.0"
|
||||
description = "Spreadsheets and CSV into SQL seed files and a schema summary"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"pandas>=2.2.0",
|
||||
"openpyxl>=3.1.2",
|
||||
"odfpy>=1.4.1",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
package = false
|
||||
Reference in New Issue
Block a user