Triad census parallelized for Python.
An updated version of the code used in "Ba, Cheick Tidiane, Matteo Zignani, and Sabrina Gaito. "Characterizing growth in decentralized socio-economic networks through triadic closure-related network motifs." Online Social Networks and Media 37 (2023): 100266."
Credit for the triad graphics goes to @alessiaatunimi (github.com/alessiaatunimi).