In the following you find some link to codes that may be of use. Some are my repositories, some are of some colleagues and refers to some work together. Also, links to datasets I worked on can be found. I hope that they may be of help :)
The repository of NEMtropy, the python module calculating several entropy-based null-models, by Nicolò Vallarano, Emiliano Marchese and Matteo Bruno, some "old" Ph.D. students of IMT. The procedure for the calculation is present in "Fast and scalable likelihood maximization...";
the repository of bicm, i.e. the module dedicated to the randomization of bipartite networks, by Matteo Bruno, my last Ph.D. student at IMT, now at Sony CSL. bicm is part of NEMtropy, mentioned above. Nevertheless, as it is a standalone module, it is updated some times independently on NEMtropy updates. Therefore, I suggest to use all the bipartite tools from here, instead of passing through NEMtropy.
My github repository of the lectures of the course "Python and Network". We start from the very beginning and end up by "scraping" the dataset of the exercises. Lecture 5 was provided by prof. Angelo Facchini.
The github of the Bipartite Configuration Model (BiCM) by Mika J. Straka, a Ph.D. student of mine. It is the very first version of a public repository for the randomization of bipartite networks. Among Mika's repositories, you can find those necessary for the validated projection of "Inferring..."
Most of the Twitter dataset that I analysed in the various papers can be found at the repository of the TOFFEe project, funded by IMT School For Advanced Studies Lucca.