Why Authors and Maintainers Link (or Don't Link) Their PyPI Libraries to Code Repositories and Donation Platforms

📅 2026-01-21
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the widespread absence of source repository and donation links in PyPI packages, which undermines transparency, trustworthiness, and sustainability in open-source projects. To investigate the underlying causes, we conduct the first large-scale empirical survey, distributing questionnaires to 50,000 PyPI authors and obtaining over 1,400 valid responses. Leveraging large language model (LLM)-driven thematic modeling, cross-round semantic similarity assessment, and expert validation (Randolph’s kappa), our analysis reveals that repository links primarily facilitate collaboration and transparency, whereas donation links are hindered by developers’ distrust of platforms and technical friction. We also identify pervasive issues of outdated links and insufficient awareness. Based on these findings, we propose concrete recommendations to improve PyPI metadata practices and demonstrate the effectiveness and robustness of LLMs in analyzing short-text survey responses.

Technology Category

Application Category

📝 Abstract
Metadata of libraries on the Python Package Index (PyPI)-including links to source code repositories and donation platforms-plays a critical role in supporting the transparency, trust, and sustainability of open-source libraries. Yet, many packages lack such metadata, and little is known about the underlying reasons. This paper presents a large-scale empirical study combining two targeted surveys sent to 50,000 PyPI authors and maintainers. We analyze more than 1,400 responses using large language model (LLM)-based topic modeling to uncover key motivations and barriers related to linking repositories and donation platforms. While repository URLs are often linked to foster collaboration, increase transparency, and enable issue tracking, some maintainers omit them due to oversight, laziness, or the perceived irrelevance to their project. Donation platform links are reported to support open source work or receive financial contributions, but are hindered by skepticism, technical friction, and organizational constraints. Cross-cutting challenges-such as outdated links, lack of awareness, and unclear guidance-affect both types of metadata. We further assess the robustness of our topic modeling pipeline across 30 runs (84% lexical and 89% semantic similarity) and validate topic quality with 23 expert raters (Randolph's kappa = 0.55). The study contributes empirical insights into PyPI's metadata practices and provides recommendations for improving them, while also demonstrating the effectiveness of our topic modeling approach for analyzing short-text survey responses.
Problem

Research questions and friction points this paper is trying to address.

PyPI
metadata
open-source sustainability
code repository linking
donation platforms
Innovation

Methods, ideas, or system contributions that make the work stand out.

large language model
topic modeling
empirical study
open-source sustainability
PyPI metadata
🔎 Similar Papers
No similar papers found.