There are many libraries in R and python for doing orthogonal distance regression and for doing ridge regression separately. Is there one for doing them at the same time?
I don't know about R but for python I use scipy.odr for orthogonal distance regression
and for Ridge Regression I tend to use sklearn.linear_model.Ridge
And when I want it together then I use both of the code from the above repo and make my own custom function.
Hope it might help you!