I recently made a python wrapper over the excellent sparse_bundle_adjustment
library (PyPI link for linux wheels). I’m using it in a graph slam package. So far only the SBA2d piece is exposed (example on github) but I will be working on exposing more bits and pieces as I build my SLAM package.
Sharing it here in case it’s useful to someone. If you have requests please post here or open an issue on Github