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

3作者: davidhalter9 个月前
我在 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