In January 2025, the Python Software Foundation (PSF) submitted a proposal to the U.S. National Science Foundation (NSF) under the Open Source Ecosystem Security, Safety, and Privacy initiative, aiming to address structural vulnerabilities within Python and the Python Package Index (PyPI).
This marked the first time the PSF had sought funding from the U.S. government. After careful deliberation, the foundation’s leadership concluded that its mission aligned closely with the NSF’s objectives. The team believed that, if approved, the proposal would bring significant benefits to the global Python community.
Following months of review, the proposal was accepted, securing a $1.5 million grant — a promising development. However, optimism soon turned to concern once the foundation learned that accepting the funds required agreeing to a specific set of terms and conditions imposed by the U.S. government.
These conditions stipulated that, during the funding period, the recipient must not engage in any activities that violate federal anti-discrimination laws, nor promote or advocate for DEI (Diversity, Equity, and Inclusion) or what was described as “discriminatory equality ideologies.” Any breach of these terms would grant the NSF the right to revoke and reclaim previously disbursed funds.
The PSF expressed deep concern over these stipulations, noting that they introduced significant and potentially limitless financial risk — particularly the possibility of retroactive repayment for funds already spent. More importantly, diversity, equity, and inclusion are central to the foundation’s core values. Accepting such conditions, the PSF argued, would represent a betrayal of its mission and the community it serves.
Ultimately, the foundation made the difficult decision to decline the federal grant, prioritizing its ethical principles over financial relief. However, the withdrawal has left the PSF facing its own mounting financial challenges. Inflation, shrinking sponsorships, economic pressures across the tech industry, and ongoing global uncertainties have all strained its resources.
The foundation now finds itself in greater need of support than ever before. In light of these circumstances, the PSF is calling on the global Python community to contribute through donations, ensuring the organization can maintain stable operations and continue its vital work in advancing open-source software and the Python ecosystem.