You can call compiled FORTRAN/C++ code within python (this happens every time you use numpy/BLAS/LAPACK) using e.g. ctypes.
If your dependency requirements are extremely strict, it sounds like it would be easier to find a project that implements a sampler natively in C++ ?