Test vector 1 BIP32 in Python
It's code from my video.
In k_priv = k_priv.get_verifying_key() it should be capital K, I was trying to be as close to original biputils lib as possible,
Then you use it in pubkey related data derivation:
if K_priv.pubkey.point.y() &amp; 1:
    data_pub= b'\3'+int_to_string(K_priv.pubkey.point.x())  
else:
    data_pub = b'\2'+int_to_string(K_priv.pubkey.point.x())

Sorry for making it confusing, I'll try to represent it better next time :)