r/CrimeAnalysis • u/andy_p_w • Sep 14 '25
Python library for crime analysis
It is soft-launched, but I have started a python library to help with various advanced crime analysis methods, crimepy. Current has example analyses for:
aoristic analysis
DBScan hotspots
Social network analysis of gangs
time series charts for CompStat like analysis
patrol districting
and advanced stat methods I have developed (SPPT and WDD statistics)
Contributions and suggestions welcome.
I really recommend analysts pick up programming. Both to help you do your job better, but also to personally grow and open up more employment opportunities for yourself outside of crime analysis.
18
Upvotes