tinker_cookbook.utils
| Function | Description |
|---|---|
read_jsonl() |
Read a JSONL (JSON Lines) file and return a list of parsed dictionaries. |
code_state() |
Capture the current code state for one or more Python modules as a diff string. |
format_colorized() |
Colour-code text according to per-token weights. |
warn_deprecated() |
Emit a DeprecationWarning for a deprecated feature. |
deprecated() |
Decorator to mark a function or class as deprecated. |
make_deprecated_module_getattr() |
Create a __getattr__ function for deprecating module-level attributes. |