Python
Official SDK- Package
ollama- Install
- Install
pip install ollama - Repo
- github.com/ollama/ollama-python
- Docs
- docs.ollama.com/api/introduction
- Notes
- Install line from the README on PyPI ('The official Python client for Ollama.').
From the docs
Use Ollama's official libraries with either a local server or the hosted API: Python, JavaScript ... Browse community libraries.