This wasn't hard to find:
https://github.com/kforeman/PyMB
I took a brief swing at testing it but ran into Python environment
problems that I didn't feel like troubleshooting ...
The README says
## Current
PyMB is currently just a light wrapper around Template Model Builder,
allowing users to run TMB models directly from Python by transparently
passing numpy and other numeric data into an embedded rpy2 instance. TMB
models are specified using C++ templates, requiring the user to be at
least somewhat familiar with C++.
## Future
We intend to make a fully Pythonic modeling library that closely mirrors
PyMC2 in syntax and ease of model specification, but uses either CppAD
mixed or TensorFlow under the hood.
"
It doesn't look active, I don't know if any effort would
>>
https://groups.google.com/d/msgid/tmb-users/CAFh292OyUn3zFLSggiC6q8o5c_8JE1moOWi07C-sosbrMaKKOQ%40mail.gmail.com <
https://groups.google.com/d/msgid/tmb-users/CAFh292OyUn3zFLSggiC6q8o5c_8JE1moOWi07C-sosbrMaKKOQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> To post to this group, send email to
us...@tmb-project.org. Before
> posting, please check the wiki and issuetracker at
>
https://github.com/kaskr/adcomp/ <
https://github.com/kaskr/adcomp/>.
> Please try to create a simple repeatable example to go with your
> question (e.g issues 154, 134, 51). Use the issuetracker to report bugs.
> ---
> You received this message because you are subscribed to the Google
> Groups "TMB Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
tmb-users+...@googlegroups.com
> <mailto:
tmb-users+...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/tmb-users/58129530-abf3-5ede-1f94-08021e784a41%40gmail.com <
https://groups.google.com/d/msgid/tmb-users/58129530-abf3-5ede-1f94-08021e784a41%40gmail.com?utm_medium=email&utm_source=footer>.
--
Dr. Benjamin Bolker
Professor, Mathematics & Statistics and Biology, McMaster University
Director, School of Computational Science and Engineering
(Acting) Graduate chair, Mathematics & Statistics
> E-mail is sent at my convenience; I don't expect replies outside of
working hours.