podqast
The Real Python PodcastReal PythonAll episodes

Running Local LLMs With Ollama and Connecting With Python

45 min
Next episodeExploring MCP Apps & Adding Interactive UIs to Clients1h 09m
Get its new episodes on Latest. No account

Would you like to learn how to work with LLMs locally on your own computer? How do you integrate your Python projects with a local model? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects.

We cover a recent Real Python step-by-step tutorial on installing local LLMs with Ollama and connecting them to Python. It begins by outlining the advantages this strategy offers, including reducing costs, improving privacy, and enabling offline-capable AI-powered apps. We talk through the steps of setting things up, generating text and code, and calling tools.

We also share other articles and projects from the Python community, including the 2026 Python Developers Survey, creating callable instances with Python’s .__call__(), creating maps and projections with GeoPandas, ending 15 years of subprocess polling, discussing backseat software, a retry library that classifies errors, and a peer-to-peer encrypted CLI chat project.

This episode is sponsored by Honeybadger.

Course Spotlight: Tips for Using the AI Coding Editor Cursor

Learn Cursor fast: Use AI-powered coding with agents, project-aware chat, and inline edits to supercharge your VS Code workflow.

Topics:

News:

Topics:

Discussion:

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Episode page ↗
Also about technology and AI
Every episode about Technology & AI
More from The Real Python Podcast