# tinker_cookbook.utils | Function | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | | [`read_jsonl()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/utils/read_jsonl/index.md) | Read a JSONL (JSON Lines) file and return a list of parsed dictionaries. | | [`code_state()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/utils/code_state/index.md) | Capture the current code state for one or more Python modules as a diff string. | | [`format_colorized()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/utils/format_colorized/index.md) | Colour-code text according to per-token weights. | | [`warn_deprecated()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/utils/warn_deprecated/index.md) | Emit a DeprecationWarning for a deprecated feature. | | [`deprecated()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/utils/deprecated/index.md) | Decorator to mark a function or class as deprecated. | | [`make_deprecated_module_getattr()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/utils/make_deprecated_module_getattr/index.md) | Create a `__getattr__` function for deprecating module-level attributes. |