分析 PyPI 库捐赠平台的使用情况
Analyzing the Usage of Donation Platforms for PyPI Libraries
AI总结:
本研究通过分析 PyPI 生态系统中捐赠平台链接的分布与采用率,发现链接多位于 GitHub 且常过时,依赖库的采用率显著高于独立库,凸显了自动验证与资金支持的重要性。
摘要:
软件系统高度依赖开源软件(OSS)库,这些库带来了好处,但也带来了风险。当漏洞出现时,由于缺乏维护活动或资源不足,开源社区可能难以应对。研究强调了开源软件维护与资金支持之间的联系。为了维持开源软件生态系统,维护者应在捐赠平台上注册,并在其项目页面上链接这些个人资料,以便从用户和行业利益相关者那里获得资金支持。然而,目前缺乏关于开源软件中捐赠平台使用情况的详细研究。本研究分析了 PyPI 生态系统中捐赠平台的采用情况。对于每个 PyPI 库,我们检索其分配的 URL、依赖项,以及在可用的情况下,所有者类型和 GitHub 捐赠链接。使用 PageRank 算法,我们从库和依赖链两个角度分析了不同的库子集。我们的研究结果显示,捐赠平台链接经常被省略在 PyPI 项目页面上,而是列在 GitHub 仓库中。GitHub Sponsors 是主要的捐赠平台,尽管许多 PyPI 上列出的链接已经过时,这强调了自动链接验证的必要性。不同库和依赖链之间的采用率差异显著:虽然单个 PyPI 库的采用率较低,但作为依赖项使用的库的采用率要高得多。这表明许多依赖项在积极寻求资金支持,从而使依赖 PyPI 库的开发人员受益。
英文摘要:
Software systems rely heavily on open source software (OSS) libraries, which offer benefits but also pose risks. When vulnerabilities arise, the OSS community may struggle to address them due to inactivity or lack of resources. Research highlights the link between OSS maintenance and financial support. To sustain the OSS ecosystem, maintainers should register on donation platforms and link these profiles on their project pages, enabling financial support from users and industry stakeholders. However, a detailed study on donation platform usage in OSS is missing. This study analyzes the adoption of donation platforms in the PyPI ecosystem. For each PyPI library, we retrieve assigned URLs, dependencies, and, when available, owner type and GitHub donation links. Using PageRank, we analyze different subsets of libraries from both a library and dependency chain perspective. Our findings reveal that donation platform links are often omitted from PyPI project pages and instead listed on GitHub repositories. GitHub Sponsors is the dominant platform, though many PyPI-listed links are outdated, emphasizing the need for automated link verification. Adoption rates vary significantly across libraries and dependency chains: while individual PyPI libraries show low adoption, those used as dependencies have much higher usage. This suggests that many dependencies actively seek financial support, benefiting developers relying on PyPI libraries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。