[PR #1857] [CLOSED] [Python] Introduce Official Async Python Client #73001

Closed
opened 2026-05-05 04:37:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1857
Author: @juharris
Created: 1/8/2024
Status: Closed

Base: mainHead: python-client


📝 Commits (3)

📊 Changes

10 files changed (+804 additions, -0 deletions)

View changed files

examples/python-client/.gitattributes (+6 -0)
examples/python-client/.gitignore (+1 -0)
examples/python-client/LICENSE (+21 -0)
examples/python-client/README.md (+26 -0)
examples/python-client/poetry.lock (+542 -0)
examples/python-client/pyproject.toml (+38 -0)
examples/python-client/src/ollama_client/__init__.py (+3 -0)
examples/python-client/src/ollama_client/client.py (+153 -0)
examples/python-client/src/ollama_client/options.py (+2 -0)
examples/python-client/tests/test_ollama_client.py (+12 -0)

📄 Description

WIP


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/1857 **Author:** [@juharris](https://github.com/juharris) **Created:** 1/8/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `python-client` --- ### 📝 Commits (3) - [`aa0f026`](https://github.com/ollama/ollama/commit/aa0f026bdc4a82cf7decde49269219b44c9226a0) Add .gitattributes - [`c22d661`](https://github.com/ollama/ollama/commit/c22d6614ad8c8d609d9e0aac7548f780cfadea83) Start stub - [`54424ce`](https://github.com/ollama/ollama/commit/54424ce3764568187e1d61f9870158ee5ceffeb1) Setup test ### 📊 Changes **10 files changed** (+804 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/python-client/.gitattributes` (+6 -0) ➕ `examples/python-client/.gitignore` (+1 -0) ➕ `examples/python-client/LICENSE` (+21 -0) ➕ `examples/python-client/README.md` (+26 -0) ➕ `examples/python-client/poetry.lock` (+542 -0) ➕ `examples/python-client/pyproject.toml` (+38 -0) ➕ `examples/python-client/src/ollama_client/__init__.py` (+3 -0) ➕ `examples/python-client/src/ollama_client/client.py` (+153 -0) ➕ `examples/python-client/src/ollama_client/options.py` (+2 -0) ➕ `examples/python-client/tests/test_ollama_client.py` (+12 -0) </details> ### 📄 Description WIP --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 04:37:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#73001