Here’s what I’m currently doing in JavaScript, I was wondering if there’s anyone who knows how to recreate this functionality in Python.

all I need to do is: take a base58 xprv (rootKey) -> derive path m/44/0/0 (node) -> output new xprv

const bitcoin = require('bitcoinjs-lib');
const bip32 = require('bip32');

let rootKey = 'xprv9s21ZrQH143K32CfqoCQHtbKiEb5BqFazXX6jCtNCnuty3gUjxS4CsXWi9rcNyHdjDVPiC6P1bnyEZr2ioouRq56h6HAdwejeTty1BsSEtL'
const node = bip32.fromBase58(rootKey, bitcoin.networks.bitcoin);

//legacy account extended private key