NVIDIA / NVIDIA/CUDALibrarySamples
Python bindings implemented
@naveenaero is already working on this.
Since Apr 29, 2026.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.