[PR #13] [MERGED] add example for pulling with progress bar #325

Closed
opened 2026-02-15 16:29:59 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/13
Author: @mxyng
Created: 1/17/2024
Status: Merged
Merged: 1/17/2024
Merged by: @mxyng

Base: mainHead: mxyng/pull-progress


📝 Commits (1)

  • a01b488 add example for pulling with progress bar

📊 Changes

1 file changed (+23 additions, -0 deletions)

View changed files

examples/pull-stream-progress/main.py (+23 -0)

📄 Description

$ pip install ollama tqdm
$ python examples/pull-stream-progress/main.py
pulling manifest
pushing e8a35b5937a5: 100%|████████████████████████████████████████████████████████| 4.11G/4.11G [00:00<00:00, 17.5TB/s]
pushing 43070e2d4e53: 100%|████████████████████████████████████████████████████████| 11.4k/11.4k [00:00<00:00, 86.1MB/s]
pushing e6836092461f: 100%|███████████████████████████████████████████████████████████| 42.0/42.0 [00:00<00:00, 790kB/s]
pushing ed11eda7790d: 100%|███████████████████████████████████████████████████████████| 30.0/30.0 [00:00<00:00, 567kB/s]
pushing f9b1e3196ecf: 100%|████████████████████████████████████████████████████████████| 483/483 [00:00<00:00, 12.3MB/s]
verifying sha256 digest
writing manifest
removing any unused layers
success

🔄 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-python/pull/13 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/17/2024 **Status:** ✅ Merged **Merged:** 1/17/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/pull-progress` --- ### 📝 Commits (1) - [`a01b488`](https://github.com/ollama/ollama-python/commit/a01b48814ae5918295efab348cd89e55d780ae27) add example for pulling with progress bar ### 📊 Changes **1 file changed** (+23 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/pull-stream-progress/main.py` (+23 -0) </details> ### 📄 Description ``` $ pip install ollama tqdm $ python examples/pull-stream-progress/main.py pulling manifest pushing e8a35b5937a5: 100%|████████████████████████████████████████████████████████| 4.11G/4.11G [00:00<00:00, 17.5TB/s] pushing 43070e2d4e53: 100%|████████████████████████████████████████████████████████| 11.4k/11.4k [00:00<00:00, 86.1MB/s] pushing e6836092461f: 100%|███████████████████████████████████████████████████████████| 42.0/42.0 [00:00<00:00, 790kB/s] pushing ed11eda7790d: 100%|███████████████████████████████████████████████████████████| 30.0/30.0 [00:00<00:00, 567kB/s] pushing f9b1e3196ecf: 100%|████████████████████████████████████████████████████████████| 483/483 [00:00<00:00, 12.3MB/s] verifying sha256 digest writing manifest removing any unused layers success ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:29:59 -05:00
yindo closed this issue 2026-02-15 16:29:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#325