10 Python One-Liners for Calling LLMs from Your Code

You don’t always need a heavy wrapper, a big client class, or dozens of lines of boilerplate to call a large language model.