I've never used one so I don't know I'm afraid but I would probably start by looking at libraries that help integrate with Node.JS
From there, you should be able to either use those in Node-RED by requiring them to a global variable in settings.js and then referencing that in a function node or by writing your own node to wrap the library.
You could probably also call out to Python scripts that wrap the Python library though that is probably a pain in the longer term.