ai/py-ollama 0.6.2 MidnightBSD
Official Python client for Ollama
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b807d69740- License
- mit
- Categories
- ai
Description
The Ollama Python library provides the easiest way to integrate Python projects with Ollama.
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}ollama
From mports:
cd /usr/mports/ai/py-ollama && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ollama>0:ai/py-ollama
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0: devel/py-hatch-vcs
Runtime 2
${PYTHON_PKGNAMEPREFIX}httpx>=0.27: www/py-httpx${PYTHON_PKGNAMEPREFIX}pydantic2>=2.9: devel/py-pydantic2
Test 3
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.23.2: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-httpserver>=0: devel/py-pytest-httpserver
Build dependencies 2
Run dependencies 2
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ollama-ollama-python-v0.6.2_GH0.tar.gz | 57673 | 2801c0680927a7b4745ebacc8cc9de580f3e8b7e63118bfbdae75fed1e2745f4 |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |