Install & Compatibility
Where this runs
tested against v0.4.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.10
✕ build_error
✓ 73.8s
py 3.11
✕ build_error
✓ 66.5s
py 3.12
✕ build_error
✓ 62.3s
py 3.13
✕ build_error
✓ 65.9s
py 3.9
✕ build_error
✕ build_error
1031MB installed
● package 1031MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
VikingMemory
✓ from openviking import get_binding_client
✗ from openviking.memory import VikingMemory
Initializes OpenViking client, stores and retrieves a simple memory.
import os
from openviking import OpenViking
def main():
# Initialize client (requires a VikingDB instance and API key)
vk = OpenViking(
host=os.environ.get('VIKING_HOST', 'http://localhost:8080'),
api_key=os.environ.get('VIKING_API_KEY', 'your-api-key-here')
)
# Store a memory
memory_id = "my-first-memory"
vk.memory.store(
memory_id=memory_id,
content="Hello, OpenViking! This is a test memory.",
metadata={"type": "greeting"}
)
print(f"Stored memory: {memory_id}")
# Retrieve the memory
result = vk.memory.retrieve(memory_id=memory_id)
print(f"Retrieved content: {result.content}")
if __name__ == "__main__":
main()
Upgrade
Version history
0.4.2latest on PyPI · released Jun 17, 2026
Audit
Dependencies
python-dotenvoptionalRequired for loading .env files in quickstart examples