{"id":28126,"library":"qwak-core","title":"Qwak Core","description":"Qwak Core provides the foundational objects and communication tools for interacting with the Qwak MLOps platform (version 0.7.64). It includes model inference clients, authentication utilities, and other core abstractions. The library is released frequently, with multiple releases per month.","status":"active","version":"0.7.64","language":"python","source_language":"en","source_url":"https://github.com/qwak-ai/qwak-core","tags":["mlops","qwak","inference","machine-learning"],"install":[{"cmd":"pip install qwak-core","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"The library itself, not a separate dependency","package":"qwak-core","optional":false}],"imports":[{"note":"Common wrong import path","wrong":"from qwak import QwakInferenceClient","symbol":"QwakInferenceClient","correct":"from qwak.core.inference import QwakInferenceClient"},{"note":"Auth module is under core","wrong":"from qwak.auth import QwakAuth","symbol":"QwakAuth","correct":"from qwak.core.auth import QwakAuth"},{"note":"Less common, but correct import path","wrong":null,"symbol":"RealtimeClient","correct":"from qwak.core.clients.realtime import RealtimeClient"}],"quickstart":{"code":"from qwak.core.inference import QwakInferenceClient\nfrom qwak.core.auth import QwakAuth\n\napi_key = os.environ.get('QWAK_API_KEY', '')\nauth = QwakAuth(api_key=api_key)\nclient = QwakInferenceClient(auth=auth)\nresponse = client.predict(model_id='my-model', input_data={'feature1': 1.0})\nprint(response)","lang":"python","description":"Initialize authentication and inference client, then run a prediction."},"warnings":[{"fix":"Use Python 3.9, 3.10, or 3.11.","message":"Python version requirement changed: qwak-core 0.7.x requires Python >=3.9,<3.12. Python 3.6 and 3.7 are not supported.","severity":"breaking","affected_versions":">=0.7.0"},{"fix":"Use 'from qwak.core.{submodule} import {class}'.","message":"All imports must come from submodules under 'qwak.core'. Direct imports like 'from qwak import ...' will fail.","severity":"gotcha","affected_versions":"all"},{"fix":"Refer to official documentation for current API.","message":"QwakInferenceClient is actively maintained but some older methods like 'predict_async' may be deprecated. Always check the latest docs for method availability.","severity":"deprecated","affected_versions":">=0.6.0"},{"fix":"Set the QWAK_API_KEY environment variable or pass it directly to QwakAuth.","message":"API key authentication is required for most operations. Missing or invalid API key will raise an authentication error.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run 'pip install qwak-core' and then use 'from qwak.core...' imports.","cause":"Tried to import from the top-level 'qwak' package instead of 'qwak-core'.","error":"ModuleNotFoundError: No module named 'qwak'"},{"fix":"Use 'from qwak.core.inference import QwakInferenceClient'.","cause":"Incorrect import path - QwakInferenceClient is in qwak.core.inference.","error":"ImportError: cannot import name 'QwakInferenceClient' from 'qwak'"},{"fix":"Check that the API key is set correctly, either via 'QWAK_API_KEY' environment variable or passed as a string to QwakAuth.","cause":"The provided API key is either missing, malformed, or not authorized.","error":"ValueError: Invalid API key"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}