ollama-python

by ollama · Developer Tools

Ollama Python library

New0 ratings10,493 starsActive
Developer ToolsDeveloper ToolPythonollama
Open project ↗↓ Download v0.6.2GitHub⚑ Report
ollama-python preview

About this project

Ollama Python Library The Ollama Python library provides the easiest way to integrate Python 3.8+ projects with Ollama. Prerequisites — Ollama should be installed and running — Pull a model to use with the library: ollama pull e.g. ollama pull gemma3 — See Ollama.com for more information on the models available. Install Usage See types.py for more information on the response types. Streaming responses Response streaming can be enabled by setting stream=True. Cloud Models Run larger models by offloading to Ollama’s cloud while keeping your local workflow. — Supported models: deepseek-v3.1:671b-cloud, gpt-oss:20b-cloud, gpt-oss:120b-cloud, kimi-k2:1t-cloud,…

Technologies

Pythonollama

Project health

Actively maintained
Last update3 weeks ago
Contributors38
Latest releasev0.6.2
Open issues & PRs194
LicenseMIT
On GitHubsince 2023

GitHub

10,493
stars
1,164
forks
38
contributors
194
open issues & PRs
Python
language
3 weeks ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review ollama-python.

Built by

ollama
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain ollama/ollama-python? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like