Upstream rpm provides a C API and Python bindings, that's how you access the 
rpmdb and anything else in rpm. 3rd party bindings exist for at least Perl and 
Rust. No idea about Go, but you could always roll your own.

https://github.com/rpm-software-management/rpm/tree/master/python/examples has 
some examples for querying, it's of course Python but gives you an idea what 
the rpmdb query API looks like.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3308#discussioncomment-10666273
You are receiving this because you are subscribed to this thread.

Message ID: 
<rpm-software-management/rpm/repo-discussions/3308/comments/10666...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to