Repository navigation
feat(cli): add convert and inspect subcommands (re-land of #6) - #14
Merged
Merged
Conversation
- convert: load/save DataFrames between csv/tsv/json/jsonl/parquet using markutils.utils.data.load_dataframe/save_dataframe - inspect: print tensor shapes from a safetensors checkpoint using markutils.checkpoints.print_state_dict_shapes Re-land of #6 (hai-pilgrim's PR had a Co-Authored-By: Claude trailer that can't ship per repo convention).
4 tasks done
marksverdhei
marked this pull request as ready for review
June 27, 2026 14:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft re-land of #6 — hai-pilgrim's PR was 3 months stale and its commit had a
Co-Authored-By: Claudetrailer (can't ship per repo convention). Cherry-pick was clean — addstests/test_cli.py(new file) and modifiescli.py/checkpoints.py. Also fixed 2 ruff F401s in the test file (json,sysimported but unused).Summary
markutils convert <input> <output>— convert between.csv/.tsv/.json/.jsonl/.parquetusingmarkutils.utils.data.load_dataframe/save_dataframemarkutils inspect <safetensors-file>— print tensor shapes from a.safetensorscheckpoint usingmarkutils.checkpoints.print_state_dict_shapesTest plan
uvx ruff checkclean