Logo
Explore Help
Sign In
ollama/ollama-python
1
0
Fork 0
You've already forked ollama-python
mirror of https://github.com/ollama/ollama-python.git synced 2026-07-19 13:45:40 -04:00
Code Issues 101 Packages Projects Releases 10 Wiki Activity

10 Releases 34 Tags

RSS Feed
  • v0.6.1 0008226fda
    Compare

    Stable

    yindo released this 2025-11-12 21:08:42 -05:00 | 5 commits to main since this release

    📅 Originally published on GitHub: Thu, 13 Nov 2025 23:01:55 GMT
    🏷️ Git tag created: Thu, 13 Nov 2025 02:08:42 GMT

    What's Changed

    • client/types: add logprobs support by @ParthSareen in https://github.com/ollama/ollama-python/pull/601

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.6.0...v0.6.1

    Downloads
    • ollama-0.6.1-py3-none-any.whl
      14 KiB
      2026-02-15 16:27:14 -05:00
    • ollama-0.6.1-py3-none-any.whl.publish.attestation
      9.2 KiB
      2026-02-15 16:27:15 -05:00
    • ollama-0.6.1.tar.gz
      50 KiB
      2026-02-15 16:27:15 -05:00
    • ollama-0.6.1.tar.gz.publish.attestation
      9.1 KiB
      2026-02-15 16:27:15 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.6.0 d967f048d9
    Compare

    Stable

    yindo released this 2025-09-24 18:40:53 -04:00 | 7 commits to main since this release

    📅 Originally published on GitHub: Wed, 24 Sep 2025 22:45:32 GMT
    🏷️ Git tag created: Wed, 24 Sep 2025 22:40:53 GMT

    What's Changed

    • client: add web search and web crawl capabilities by @ParthSareen in https://github.com/ollama/ollama-python/pull/578

    • client: load OLLAMA_API_KEY on init by @ParthSareen in https://github.com/ollama/ollama-python/pull/583

    • client/types: update web search and fetch API by @npardal in https://github.com/ollama/ollama-python/pull/584

    • examples: add mcp server for web_search web_crawl by @ParthSareen in https://github.com/ollama/ollama-python/pull/585

    • examples: gpt oss browser tool by @ParthSareen in https://github.com/ollama/ollama-python/pull/588

    New Contributors

    • @npardal made their first contribution in https://github.com/ollama/ollama-python/pull/584

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.5.4...v0.6.0

    Downloads
    • ollama-0.6.0-py3-none-any.whl
      14 KiB
      2026-02-15 16:27:11 -05:00
    • ollama-0.6.0-py3-none-any.whl.publish.attestation
      9.2 KiB
      2026-02-15 16:27:12 -05:00
    • ollama-0.6.0.tar.gz
      50 KiB
      2026-02-15 16:27:12 -05:00
    • ollama-0.6.0.tar.gz.publish.attestation
      9.1 KiB
      2026-02-15 16:27:12 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.5.4 a1d04f04f2
    Compare

    Stable

    yindo released this 2025-09-15 20:23:03 -04:00 | 13 commits to main since this release

    📅 Originally published on GitHub: Tue, 16 Sep 2025 00:24:58 GMT
    🏷️ Git tag created: Tue, 16 Sep 2025 00:23:03 GMT

    What's Changed

    • examples: add gpt-oss browser example by @ParthSareen in https://github.com/ollama/ollama-python/pull/558
    • build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/ollama/ollama-python/pull/559
    • examples/gpt-oss: fix examples by @ParthSareen in https://github.com/ollama/ollama-python/pull/566
    • Fix link for thinking-levels.py in documentation by @btjanaka in https://github.com/ollama/ollama-python/pull/567
    • examples: fix gpt-oss-tools-stream for adding tool calls by @ParthSareen in https://github.com/ollama/ollama-python/pull/568
    • examples: resolve invalid tool usage status code 400 if llm makes a mistake gpt-oss by @MarkWard0110 in https://github.com/ollama/ollama-python/pull/569
    • build(deps): bump actions/setup-python from 5 to 6 by @dependabot[bot] in https://github.com/ollama/ollama-python/pull/571
    • feat: add dimensions to embed request by @mxyng in https://github.com/ollama/ollama-python/pull/574

    New Contributors

    • @btjanaka made their first contribution in https://github.com/ollama/ollama-python/pull/567
    • @MarkWard0110 made their first contribution in https://github.com/ollama/ollama-python/pull/569

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.5.3...v0.5.4

    Downloads
    • ollama-0.5.4-py3-none-any.whl
      13 KiB
      2026-02-15 16:27:09 -05:00
    • ollama-0.5.4-py3-none-any.whl.publish.attestation
      9.2 KiB
      2026-02-15 16:27:09 -05:00
    • ollama-0.5.4.tar.gz
      44 KiB
      2026-02-15 16:27:09 -05:00
    • ollama-0.5.4.tar.gz.publish.attestation
      9.3 KiB
      2026-02-15 16:27:10 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.5.3 53ff3cd025
    Compare

    Stable

    yindo released this 2025-08-07 17:42:12 -04:00 | 21 commits to main since this release

    📅 Originally published on GitHub: Thu, 07 Aug 2025 21:43:45 GMT
    🏷️ Git tag created: Thu, 07 Aug 2025 21:42:12 GMT

    What's Changed

    • add support for 'high'/'medium'/'low' think values by @drifkin in https://github.com/ollama/ollama-python/pull/553

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.5.2...v0.5.3

    Downloads
    • ollama-0.5.3-py3-none-any.whl
      13 KiB
      2026-02-15 16:27:05 -05:00
    • ollama-0.5.3-py3-none-any.whl.publish.attestation
      9.1 KiB
      2026-02-15 16:27:06 -05:00
    • ollama-0.5.3.tar.gz
      42 KiB
      2026-02-15 16:27:06 -05:00
    • ollama-0.5.3.tar.gz.publish.attestation
      9.0 KiB
      2026-02-15 16:27:07 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.5.2 34e98bd237
    Compare

    Stable

    yindo released this 2025-08-05 18:59:56 -04:00 | 23 commits to main since this release

    📅 Originally published on GitHub: Tue, 05 Aug 2025 23:01:42 GMT
    🏷️ Git tag created: Tue, 05 Aug 2025 22:59:56 GMT

    What's Changed

    • types/examples: add tool_name to message and examples by @ParthSareen in https://github.com/ollama/ollama-python/pull/537

    • types: add context_length to ProcessResponse by @ParthSareen in https://github.com/ollama/ollama-python/pull/538

    • types: relax type for tools by @ParthSareen in https://github.com/ollama/ollama-python/pull/550

    • add license metadata to package by @ViViDboarder in https://github.com/ollama/ollama-python/pull/526

    New Contributors

    • @hwittenborn made their first contribution in https://github.com/ollama/ollama-python/pull/525
    • @ViViDboarder made their first contribution in https://github.com/ollama/ollama-python/pull/526

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.5.1...v0.5.2

    Downloads
    • ollama-0.5.2-py3-none-any.whl
      13 KiB
      2026-02-15 16:27:03 -05:00
    • ollama-0.5.2-py3-none-any.whl.publish.attestation
      9.0 KiB
      2026-02-15 16:27:03 -05:00
    • ollama-0.5.2.tar.gz
      42 KiB
      2026-02-15 16:27:03 -05:00
    • ollama-0.5.2.tar.gz.publish.attestation
      9.0 KiB
      2026-02-15 16:27:04 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.5.1 ce6846e4fc
    Compare

    Stable

    yindo released this 2025-05-30 17:32:05 -04:00 | 31 commits to main since this release

    📅 Originally published on GitHub: Fri, 30 May 2025 21:32:27 GMT
    🏷️ Git tag created: Fri, 30 May 2025 21:32:05 GMT

    What's Changed

    • fully add thinking support to generate() by @drifkin in https://github.com/ollama/ollama-python/pull/524

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.5.0...v0.5.1

    Downloads
    • ollama-0.5.1-py3-none-any.whl
      13 KiB
      2026-02-15 16:27:00 -05:00
    • ollama-0.5.1-py3-none-any.whl.publish.attestation
      8.9 KiB
      2026-02-15 16:27:01 -05:00
    • ollama-0.5.1.tar.gz
      40 KiB
      2026-02-15 16:27:01 -05:00
    • ollama-0.5.1.tar.gz.publish.attestation
      9.1 KiB
      2026-02-15 16:27:01 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.5.0 756bd8f31a
    Compare

    Stable

    yindo released this 2025-05-29 19:02:56 -04:00 | 33 commits to main since this release

    📅 Originally published on GitHub: Fri, 30 May 2025 02:38:51 GMT
    🏷️ Git tag created: Thu, 29 May 2025 23:02:56 GMT

    What's Changed

    • add support for thinking by @drifkin in https://github.com/ollama/ollama-python/pull/521

    New Contributors

    • @drifkin made their first contribution in https://github.com/ollama/ollama-python/pull/521

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.4.9...v0.5.0

    Downloads
    • ollama-0.5.0-py3-none-any.whl
      13 KiB
      2026-02-15 16:26:58 -05:00
    • ollama-0.5.0-py3-none-any.whl.publish.attestation
      8.9 KiB
      2026-02-15 16:26:58 -05:00
    • ollama-0.5.0.tar.gz
      40 KiB
      2026-02-15 16:26:59 -05:00
    • ollama-0.5.0.tar.gz.publish.attestation
      8.9 KiB
      2026-02-15 16:26:59 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.4.9 5d7c63fae1
    Compare

    Stable

    yindo released this 2025-05-14 22:27:48 -04:00 | 36 commits to main since this release

    📅 Originally published on GitHub: Tue, 27 May 2025 18:08:58 GMT
    🏷️ Git tag created: Thu, 15 May 2025 02:27:48 GMT

    What's Changed

    • use hatch instead of poetry by @mxyng in https://github.com/ollama/ollama-python/pull/445
    • add capabilities to show response. by @jayrinaldime in https://github.com/ollama/ollama-python/pull/511

    New Contributors

    • @jayrinaldime made their first contribution in https://github.com/ollama/ollama-python/pull/511

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.4.8...v0.4.9

    Downloads
    • ollama-0.4.9-py3-none-any.whl
      13 KiB
      2026-02-15 16:26:56 -05:00
    • ollama-0.4.9-py3-none-any.whl.publish.attestation
      9.0 KiB
      2026-02-15 16:26:56 -05:00
    • ollama-0.4.9.tar.gz
      40 KiB
      2026-02-15 16:26:56 -05:00
    • ollama-0.4.9.tar.gz.publish.attestation
      9.0 KiB
      2026-02-15 16:26:56 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.4.8 65f94b4fba
    Compare

    Stable

    yindo released this 2025-04-16 16:33:51 -04:00 | 38 commits to main since this release

    📅 Originally published on GitHub: Wed, 16 Apr 2025 21:54:38 GMT
    🏷️ Git tag created: Wed, 16 Apr 2025 20:33:51 GMT

    What's Changed

    • client: add support for passing in Image type to generate by @ParthSareen in https://github.com/ollama/ollama-python/pull/408
    • types: relax enum type for tool by @ParthSareen in https://github.com/ollama/ollama-python/pull/498
    • types: allow single or multiple types tool property by @ParthSareen in https://github.com/ollama/ollama-python/pull/499
    • types: enable passing messages with arbitrary role by @rylativity in https://github.com/ollama/ollama-python/pull/462
    • types: allow items and defs for tools by @ParthSareen in https://github.com/ollama/ollama-python/pull/501
    • examples: update tools.py to nicely manage numbers instead of concat strings by @ddbit in https://github.com/ollama/ollama-python/pull/443
    • examples: fix example links by @ansent788 in https://github.com/ollama/ollama-python/pull/461
    • chore: add SECURITY.md by @ParthSareen in https://github.com/ollama/ollama-python/pull/479
    • poetry: update dependencies by @ParthSareen in https://github.com/ollama/ollama-python/pull/505

    New Contributors

    • @ddbit made their first contribution in https://github.com/ollama/ollama-python/pull/443
    • @rylativity made their first contribution in https://github.com/ollama/ollama-python/pull/462
    • @ansent788 made their first contribution in https://github.com/ollama/ollama-python/pull/461

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.4.7...v0.4.8

    Downloads
    • ollama-0.4.8-py3-none-any.whl
      13 KiB
      2026-02-15 16:26:54 -05:00
    • ollama-0.4.8-py3-none-any.whl.publish.attestation
      8.9 KiB
      2026-02-15 16:26:54 -05:00
    • ollama-0.4.8.tar.gz
      13 KiB
      2026-02-15 16:26:54 -05:00
    • ollama-0.4.8.tar.gz.publish.attestation
      8.8 KiB
      2026-02-15 16:26:54 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
  • v0.4.7 0561f42701
    Compare

    Stable

    yindo released this 2025-01-21 13:20:11 -05:00 | 47 commits to main since this release

    📅 Originally published on GitHub: Tue, 21 Jan 2025 18:51:14 GMT
    🏷️ Git tag created: Tue, 21 Jan 2025 18:20:11 GMT

    What's Changed

    • client: remove sha256 as it's already available in the digest by @samhita-alla in https://github.com/ollama/ollama-python/pull/420

    • client: improve error messaging on connection failure by @ParthSareen in https://github.com/ollama/ollama-python/pull/398

    • chore: bump httpx from 0.27.2 to 0.28.1 by @dependabot in https://github.com/ollama/ollama-python/pull/365

    • chore: ensure imports are sorted by @akx in https://github.com/ollama/ollama-python/pull/385

    • examples: fix create examples by @jmorganca in https://github.com/ollama/ollama-python/pull/421

    • examples: update create example by @ParthSareen in https://github.com/ollama/ollama-python/pull/418

    • fix: don't run lints on all Python versions by @akx in https://github.com/ollama/ollama-python/pull/400

    • fix: formatting & CI by @akx in https://github.com/ollama/ollama-python/pull/422

    • chore: add tests for checking sha in blob request by @ParthSareen in https://github.com/ollama/ollama-python/pull/425

    New Contributors

    • @samhita-alla made their first contribution in https://github.com/ollama/ollama-python/pull/420

    Full Changelog: https://github.com/ollama/ollama-python/compare/v0.4.6...v0.4.7

    Downloads
    • ollama-0.4.7-py3-none-any.whl
      13 KiB
      2026-02-15 16:26:51 -05:00
    • ollama-0.4.7-py3-none-any.whl.publish.attestation
      8.8 KiB
      2026-02-15 16:26:51 -05:00
    • ollama-0.4.7.tar.gz
      12 KiB
      2026-02-15 16:26:51 -05:00
    • ollama-0.4.7.tar.gz.publish.attestation
      8.8 KiB
      2026-02-15 16:26:52 -05:00
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
Powered by Gitea Version: 1.26.2 Page: 22ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API