Another one for python2 not stated above is this one [https://github.com/marcoapintoo/nim-pythonize](https://github.com/marcoapintoo/nim-pythonize)
You easily can move data from nim to python call your 3rd party lib python function and move the result back to nim for further processing. You can see this in action here where a python based database driver is called. [https://github.com/qqtop/NimFirebird](https://github.com/qqtop/NimFirebird) [https://github.com/qqtop/NimFirebird/blob/master/firebird.nim](https://github.com/qqtop/NimFirebird/blob/master/firebird.nim) Unfortunately does not work with python3 libs .
