This is code to calculate the Cliff's Delta effect size metric, which strangely is not in NumPy/SciPy.stats.
@Timm had this as a gist, and @mtorchiano has R code with tests. I have merged them. Well, Marco's code does a lot more. I merged his tests.