Skip to content

Vendor Ollama Python client for experimentation - #7

Draft
KhanN-byte wants to merge 1 commit into
mainfrom
codex/vendor-ollama-python
Draft

Vendor Ollama Python client for experimentation#7
KhanN-byte wants to merge 1 commit into
mainfrom
codex/vendor-ollama-python

Conversation

@KhanN-byte

Copy link
Copy Markdown
Owner

What changed

  • Vendored the official Ollama Python client under AI Projects/ollama-python.
  • Included upstream source, examples, tests, dependency metadata, lockfile, and MIT license.
  • Added UPSTREAM.md recording the source URL and exact upstream commit.

Why

Makes the Ollama Python client code directly available inside this repository for study and experimentation without relying on a nested Git repository.

Impact

The vendored code can be edited and committed normally from the parent Python repository. Future upstream updates will need to be imported manually and can be traced from UPSTREAM.md.

Source

  • Repository: https://github.com/ollama/ollama-python.git
  • Commit: 25b93290d8cd07b0d00732641f812ee34fd4c989
  • License: MIT

Validation

  • Compiled every vendored Python file with python3 -m compileall.
  • Confirmed the branch is based on main and contains only the vendored directory.
  • Preserved one existing upstream trailing-space warning in pyproject.toml so the snapshot remains faithful to upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant