# tinker_cookbook.utils *Generated from tinker-cookbook at commit [`4a3a282`](https://github.com/thinking-machines-lab/tinker-cookbook/tree/4a3a2829190b45999021e423bc90b7523108edf4). Source links point at that snapshot.* | 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. |