pytopicgram: A library for data extraction and topic modeling from Telegram channels Gómez-Romero, Juan Cantón-Correa, Javier Pérez Mercado, Rubén Prados Abad, Francisco Molina Solana, Miguel José Fajardo Contreras, Waldo Telegram Crawling topic modelling Telegram is a popular platform for communication, generating large volumes of messages through its open channels. pytopicgram is a Python library designed to help researchers efficiently collect, organize, and analyze Telegram messages, addressing the increasing demand to understand online discourse. Key functionalities include efficient message retrieval, computation of engagement metrics, and advanced topic modeling. By automating the data extraction and analysis pipeline, pytopicgram simplifies the investigation of how content spreads, how topics evolve, and how audiences interact on Telegram. The library’s modular architecture ensures flexibility and scalability, making it suitable for diverse applications. This paper describes the design, main features, and illustrative examples that demonstrate pytopicgram’s practical effectiveness for studying public conversations. 2025-11-03T12:02:45Z 2025-11-03T12:02:45Z 2025-05 journal article Gómez-Romero, J., Correa, J. C., Mercado, R. P., Abad, F. P., Molina-Solana, M., & Fajardo, W. (2025). pytopicgram: A library for data extraction and topic modeling from Telegram channels. SoftwareX, 30(102141), 102141. https://doi.org/10.1016/j.softx.2025.102141 https://hdl.handle.net/10481/107705 10.1016/j.softx.2025.102141 eng info:eu-repo/grantAgreement/EU/PRTR/PLEC2021-007681 http://creativecommons.org/licenses/by-nc/4.0/ open access Atribución-NoComercial 4.0 Internacional Elsevier