Just create an Aligner object (with additional configuration if you want), then give it some sequences to align:
It's missing some small things that I'll add over time, but for now the key features are there, and you could use it in your Python or #snakemake workflows in place of the FAMSA binary.
And after you're done with the alignment, you can always trim it with PytrimAl, all inside a Python interpreter!