{"id":27846,"library":"gpudb","title":"Kinetica GPUDB Python Client","description":"Official Python client for Kinetica (formerly GPUdb), a GPU-accelerated database. Current version 7.2.3.8, requires Python >=3.8.","status":"active","version":"7.2.3.8","language":"python","source_language":"en","source_url":"https://github.com/kineticadb/gpudb-python","tags":["gpu","database","kinetica","gpudb","client"],"install":[{"cmd":"pip install gpudb","lang":"bash","label":"Latest from PyPI"}],"dependencies":[],"imports":[{"note":"Direct import is deprecated; the class is inside the package.","wrong":"import gpudb","symbol":"GPUdb","correct":"from gpudb import GPUdb"},{"note":"","wrong":null,"symbol":"GPUdbTable","correct":"from gpudb import GPUdbTable"}],"quickstart":{"code":"from gpudb import GPUdb\n\noptions = GPUdb.Options()\noptions.host = os.environ.get('KINETICA_HOST', 'http://localhost:9191')\noptions.username = os.environ.get('KINETICA_USERNAME', '')\noptions.password = os.environ.get('KINETICA_PASSWORD', '')\n\ndb = GPUdb(options)\nprint(db.show_system_status())","lang":"python","description":"Connect to Kinetica using environment variables."},"warnings":[{"fix":"Use `GPUdb.Options()` or pass keyword arguments: `GPUdb(host='...', port=...)`.","message":"v7.2.0+ changed the constructor signature. `GPUdb(host, port)` no longer works; use `GPUdb(options)` or `GPUdb(host=..., port=...)`.","severity":"breaking","affected_versions":">=7.2.0"},{"fix":"Change `import gpudb` to `from gpudb import GPUdb`.","message":"Direct import of `gpudb` (without submodule) is deprecated; always use `from gpudb import GPUdb`.","severity":"deprecated","affected_versions":">=7.0.0"},{"fix":"Set `options.username` and `options.password` before creating the GPUdb object.","message":"Default authentication uses empty credentials. If the server requires auth, you must set username and password, or the connection will fail with 'SQLSTATE[08001]'.","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":"Use `from gpudb import GPUdb`.","cause":"Trying to use `import gpudb` then `gpudb.GPUdb()`, but the class is not imported that way.","error":"AttributeError: module 'gpudb' has no attribute 'GPUdb'"},{"fix":"Use `GPUdb(host='...')` or `GPUdb(GPUdb.Options())`.","cause":"Passing both positional and keyword arguments for host (v7.2+ signature change).","error":"TypeError: __init__() got multiple values for argument 'host'"},{"fix":"Check KINETICA_HOST, KINETICA_USERNAME, KINETICA_PASSWORD environment variables, or provide them in Options.","cause":"Credentials not provided or incorrect, or server not accessible.","error":"gpudb.exception.GPUdbException: Error in /show/status: [500] Internal Server Error"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}