How to I create a new Origin point and oreient the point cloud using Pyhon?

I have a point cloud data in txt format, I would like to create a new origin point and orient the point cloud with respect to new origin Point i.e I want to have xyz values wrt new origin point.  How can I do it with Python?

Any help or references will be very helpful.

Thank you.