{"api_version":2,"name":"galaxy_split_table_by_rows","version":"1.0","role":"transform","type":"sdk","description":"Group consecutive rows into fixed-size chunks.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"outputs":{"result":{"view":"bytes"}},"parameters":{"type":"object","properties":{"rows":{"type":"integer","default":2,"minimum":1,"maximum":10000,"description":"Number of data rows per part."},"header_lines":{"type":"integer","default":1,"minimum":0,"maximum":100,"description":"Number of leading lines to repeat in each part."}},"additionalProperties":false,"required":[]},"documentation":{"inputs":{"source":"One TSV bytes stream. Implements batch allocation in Galaxy's split collection tool. Each chunk is a JSON Lines object {part, rows}; the final chunk may contain fewer rows."},"outputs":{"result":"JSONL bytes. Implements batch allocation in Galaxy's split collection tool. Each chunk is a JSON Lines object {part, rows}; the final chunk may contain fewer rows."},"parameters":{"rows":{"description":"Number of data rows per part.","help":"Number of data rows per part.","example":2},"header_lines":{"description":"Number of leading lines to repeat in each part.","help":"Number of leading lines to repeat in each part.","example":1}},"example_job":"name: Group consecutive rows into fixed-size chunks.\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/split_table_by_rows-source.tsv\n    view: bytes\n- id: process\n  operator: galaxy_split_table_by_rows@1.0\n  inputs:\n    source: read_source\n  params:\n    rows: 2\n    header_lines: 1\n- id: client_sink\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"python","entrypoint":"galaxy_split_table_by_rows","config":{}},"source_public":true,"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"provenance":{"source_archive":{"sha256":"4e7b5ae5f1832d5caba45a6a44bf1589582fd8b64f76d68de5cc4ee7d14e0d24","size":25214,"filename":"galaxy_split_table_by_rows-sources.zip"},"source_repository":"https://github.com/bgruening/galaxytools","source_revision":"cf3d3559b6102373ee65693e99e4ed928d459deb","license":"AFL-3.0 AND MIT","license_file":{"sha256":"0edf5da821de32631cf20d8cd0fe548f4b3425e4b20fc88e8f86927f6213f508","size":1116,"filename":"GALAXY-LICENSE.txt"},"build_instructions":"Compile src/*.py with the python-arrow@2.0 builder. The adapter uses only Python's standard library and the shared XStream SDK. See upstream-manifest.json and fixtures.json for evidence."},"artifact":{"sha256":"60c7a07f930f79343b8cbb393051b7d02c34b78ac1ba987d5705556ba20f1bd3","size":12505,"filename":"operator.zip"},"categories":["Galaxy","Tabular data"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795074486846},"publication":{"author":"dacp-examples","submitted_at_ms":1795074468111,"approved_at_ms":1795074486846,"last_submitted_at_ms":1795074468111,"last_approved_at_ms":1795074486846},"download_count":5}