#34 · Primary category: Inference & Local Deploy
ollama-python
Ollama Python library
Project last updated:08/12/26
GitHub Stars
10.5K
Forks
1.2K
Contributors
42
License
MIT
Why we included this project
Ollama's official Python client is the direct way to call a local Ollama server from your own code. It wraps the REST API in a typed interface, so chat requests, token streaming, and structured response objects work without hand-rolled HTTP calls or manual JSON parsing. Because the same client can point at a locally running daemon or Ollama's hosted cloud, one codebase covers both on-prem models and bigger cloud-only ones like gpt-oss:120b-cloud. Teams already using Ollama get a thin, maintained layer between their app and the model instead of building one themselves.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.