netseg: a Python Package for Measuring Structural Polarization and Segregation in Social Networks
The study of structural polarization and segregation in social networks is an established line of research, and the quantification of both phenomena proceeds through a set of widely cited network indices. The code implementing those indices, however, is seldom released and almost never tested. We present netseg, a comp...