code: def get_public_key(self):
          
          return PublicKey.from_verifying_key(
              self._private_key.get_verifying_key(),
              network=self.network, compressed=self.compressed)
docs: Get the PublicKey for this PrivateKey.