I achieved this by SSH. I configured a SSH server on the Oracle DB machine then from my local machine ran impdp command via ssh using paramiko client.
......................................................................................
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect(server, username=username, password=password)
ssh_stdin, ssh_stdout, ssh_stderr = ssh.exec_command('<impdp command here>')
err = ssh_stderr.read()
print "err", err, len(err)
ssh.close()