I'm not aware of anything similar already present in scipy. Any (simple) plugin mechanism would probably do the job. I guess the only requirement would to preserve compatibility.