Skip to content

Conversation

@AhmadNaruto
Copy link

A fast type checker and language server for Python

@TomJo2000
Copy link
Member

pylyzer is probably borderline in the "existing history of distro packaging" requirement.
https://repology.org/project/pylyzer/versions

Packaging criteria breakdown for pylyzer

  • The project is actively developed.

  • [~] The project has existing packages and is "well known".

  • Licensed under an open source license.

  • [~] Not available through a language package manager: pip, npm, cpan, cargo, etc.
    Robert makes a good point about practicality (addpkg(main/pylyzer): 0.0.82 #26701 (review))

  • Not taking up too much disk space (< 100MiB per architecture, exceptions can be made)

  • Not duplicating the functionality of existing packages.

  • Not serving hacking, malware, phishing, spamming, spying, ddos functionality.

  • I certify that I have read Termux Packaging Policy and understand that my request will be denied if it is found lacking.

But pyrefly is downright deficient in that criteria.
It seems to be, as far as I can tell a 5 month old project only packaged on repositories with very open user submissions.
https://repology.org/project/pyrefly/versions
Maybe give it a more time to mature.

Packaging criteria breakdown for pyrefly

  • The project is actively developed.

  • The project has existing packages and is "well known".

  • Licensed under an open source license.

  • [~] Not available through a language package manager: pip, npm, cpan, cargo, etc.
    Same reasoning probably applies here.

  • Not taking up too much disk space (< 100MiB per architecture, exceptions can be made)

  • Not duplicating the functionality of existing packages.

  • Not serving hacking, malware, phishing, spamming, spying, ddos functionality.

  • I certify that I have read Termux Packaging Policy and understand that my request will be denied if it is found lacking.

@robertkirkman
Copy link
Member

@AhmadNaruto which do you like better, pylyzer or pyrefly?

After I merge pylyzer, you could then rebase this with pull to auto remove the pylyzer commit from this, but they both are python language servers written in Rust, and maybe Termux should only have one python language server written in Rust for now, so which is better for you to have from pkg install?

@AhmadNaruto
Copy link
Author

AhmadNaruto commented Oct 14, 2025

@robertkirkman i not sure, but in my experience and my opinion pyrefly is better even though it is still under active development but reading description on his website, they integrates a lot of things.

@robertkirkman
Copy link
Member

Ok, I will wait to merge it until later after a while when we can see which is more popular long-term, Pylyzer or Pyrefly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants