If you're using Nornir for network automation and Librenms for for inventory management you're in luck, I just created a plugin for Nornir that uses LibreNMS for inventory and host details.
Give it a try and let me know what do you think of it
shamalawy/nornir-librenms: LibreNMS inventory plugin for Nornir network automation (github.com)