问HN:为Python语言服务器选择哪种开源许可证?

3作者: davidhalter5 个月前原帖
在2012年创建了Jedi后,我于2020年启动了ZubanLS [0],旨在推动Python工具的发展。我的初衷是采用一种免费增值模式,让公司为大型代码库的使用付费。然而,随着Ty和Pyrefly的出现,这种方法并没有奏效。尽管如此,该工具的大部分工作已经完成: - 完整的核心LSP功能集(诊断、跳转、自动补全、重命名等) - 类型检查速度比Mypy快20到200倍 - 通过了大多数官方合规测试 [1],并且超过95%的Mypy相关测试 - 提供Mypy兼容模式和更类似于Pyright的模式 因此,我希望将这个项目开源。不过,我仍然希望找到一种方法,至少能从中获得一些收入,所以我在考虑不同的许可选项。除了MIT/GPL/AGPL之外,还有哪些许可可能适合这里的情况?就个人而言,我倾向于不选择MIT,因为它几乎没有盈利的空间。你认为这是个错误吗?目前我倾向于AGPL。从用户的角度来看,这会成为采用的障碍吗? [0]: https://zubanls.com/ [1]: https://htmlpreview.github.io/?https://github.com/python/typing/blob/main/conformance/results/results.html
查看原文
Having created Jedi in 2012, I started ZubanLS [0] in 2020 to advance Python tooling. My initial idea was to use a freemium model where companies would pay for usage on large codebases. That approach didn&#x27;t work out with the arrival of Ty and Pyrefly. That said, most of the work on the tool is already complete:<p>- Full set of core LSP features (Diagnostics, Goto, Completions, Rename, etc.) - Type checking that&#x27;s 20–200× faster than Mypy - Passes most of the official conformance tests [1] and over 95% of Mypy&#x27;s relevant tests - Offers both a Mypy-compatible mode and a mode more similar to Pyright<p>Because of this, I&#x27;d like to open source the project. Ideally though, I&#x27;d still like to find a way to make at least a small living from it, so I&#x27;m considering different licensing options. Are there any licenses beyond MIT&#x2F;GPL&#x2F;AGPL that might make sense here? Personally, I&#x27;m leaning away from MIT since it leaves almost no room for monetization. Do you think that&#x27;s a mistake? Right now I&#x27;m leaning toward AGPL. From your perspective as a user, would that be a blocker for adoption?<p>[0]: https:&#x2F;&#x2F;zubanls.com&#x2F; [1]: https:&#x2F;&#x2F;htmlpreview.github.io&#x2F;?https:&#x2F;&#x2F;github.com&#x2F;python&#x2F;typing&#x2F;blob&#x2F;main&#x2F;conformance&#x2F;results&#x2F;results.html