Re-bake particle system(s) in Python

Is there a way to get Blender to rebake all (or selected) particle systems from a Python script… something equivalent to a “psys.rebake()” method?

I’m working on a project with about a dozen different particle systems, and I find I have to often rebake them after various edits or else I get “left-over” particles when I render. I would love to be able to write a quick script that I could run to essentially “refresh” all the particle systems, rather than doing it individually with the “Free Bake” button. It’s easy to access the particle systems with “object.getParticleSystems()”.