Too Long to post, see
https://github.com/rogerjdeangelis/utl-siemens-jenner-logistic-regression-with-strata-using-jenner-r-and-python
Contents of Logistic Regression with Stata Option
1 SAS compatible Logistic using Jenner Analytics
2 R Logistic
3 Python Logistic