Read an XPUB list of transactions to Python using my own node Anyone familiar with a Python library that can get a list of all transactions under an XPUB but by connecting to a Bitcoin node through RPC?
Something like this might be a lead for what you're after.  It gives you a list of addresses which you can then query your node by RPC.

You then use the getbalance RPC method.  People I know use the python slickrpc package from pypi.