NVIDIA / NVIDIA/CUDALibrarySamples

Python bindings implemented

Open
#350 11 comments 0 reactions 1 assignee View on GitHub

@naveenaero is already working on this.

Since Apr 29, 2026.

duplicate nvCOMP
Dominant language
Cuda
Stars
2.5k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

Looks like a couple people have requested python bindings. I came here to do the same a couple days ago, and figured I'd give it a try myself.

I've managed to implement bindings for CascadedCompressor and CascadedDecompressor at https://github.com/carsonswope/py-nvcomp. I plan to implement the other high-level compressor types at some point as well.

It's my first time writing c++ bindings for python, so I'd appreciate a code review from anyone who has a bit more experience. Specifically I wonder if I'm correctly passing void* and other CUDA types between python and c++? I'm sort of assuming the pointers will all be 64-bit, which is okay because I think CUDA only runs on 64-bit?

Also, I'm happy to integrate my code into this repo, just would need some guidance on where to put it, etc.

Cheers!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.