bowtie decompose a directed network in its bow-tie structure, following the definition in Yang et al, "Bow-tie decomposition in directed graphs," 14th International Conference on Information Fusion, Chicago, IL, USA, 2011
Simply
pip install git+https://github.com/fabiosaracco/bowtie.git
MIT