{"library":"nvidia-libnvcomp-cu12","title":"NVIDIA nvcomp for CUDA 12","description":"NVIDIA nvcomp is a high-speed lossless compression/decompression library designed for use on NVIDIA GPUs. This package provides the pre-built CUDA 12 binaries (libnvcomp.so) for Python. Version 5.2.0.13 is current. Release cadence is tied to CUDA toolkit releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install nvidia-libnvcomp-cu12"],"cli":null},"imports":["from cffi import FFI"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import ctypes\nimport os\n\n# Load the library (adjust path if needed)\nlib_path = os.environ.get('NVCOMP_LIB_PATH', 'libnvcomp.so')\ntry:\n    lib = ctypes.CDLL(lib_path)\n    print('nvcomp library loaded successfully')\nexcept OSError as e:\n    print(f'Failed to load: {e}')","lang":"python","description":"Verify that the nvcomp shared library is accessible and loadable.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}