Ammonite-Ops VS pyright

Compare Ammonite-Ops vs pyright and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Ammonite-Ops pyright
15 135
2,585 12,055
0.3% 2.2%
8.5 9.8
about 20 hours ago about 6 hours ago
Scala Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Ammonite-Ops

Posts with mentions or reviews of Ammonite-Ops. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-13.
  • RFC: A Path Forward for Ammonite REPL and Scripts in 2023 and Beyond
    1 project | /r/scala | 3 Sep 2023
  • Does ammonite support indent based syntax?
    1 project | /r/scala | 23 Oct 2022
    The indent based syntax is only available in Scala 3, you have to download a matching ammonite version from https://github.com/com-lihaoyi/Ammonite/releases
  • Scala Isn't Fun Anymore
    9 projects | news.ycombinator.com | 13 Sep 2022
    That's funny, because this is what I really like about Scala; how quick and easy it is to get a project started.

    > sbt new scala/scala3.g8

    will just create an empty project. If you don't even want to bother with a project, use use scala-cli or ammonite (http://ammonite.io/) to just start banging out code.

    Even the upgrading of a project from Scala2 to Scala3 is a breeze, thanks to very good backwards compatibility of new library releases.

  • No build target could be found
    1 project | /r/scala | 30 Aug 2022
    Ammonite is a very good REPL for Scala. You can invoke it with amm and type expressions into it, or load a Scala “script file” whose name ends with .sc into it, or many other things. It’s documented at https://ammonite.io. 2. sbt is the dominant build tool for Scala projects. As others have commented, when you open a folder in Visual Studio Code and try to make Metals “aware of it,” it expects to find a “Scala project” in the folder. A “Scala project” isn’t just Scala source code. See https://www.scala-sbt.org for details. 3. Also be aware that Metals supports worksheets, so you can easily experiment with code in your project interactively, too.
  • A Python-compatible statically typed language erg-lang/erg
    27 projects | news.ycombinator.com | 13 Aug 2022
  • Scala 3 Reflection
    5 projects | /r/scala | 1 Feb 2022
    Scripting API is quite limited, so the third option. - reuse the ammonite scripts https://github.com/com-lihaoyi/Ammonite or look how this is implemented (using internal compiler API),
  • New to Scala
    1 project | /r/scala | 14 Oct 2021
    Your exposure to Functional Programming with Haskell and Clojure suggest you will certainly pick up Scala quickly. With ZIO and cats, you can write robust software quickly. Consider the excellent Coursera Scala course. Get "the Red Book" https://www.manning.com/books/functional-programming-in-scala, and most important, play. Experiment to see how things work. Get https://ammonite.io/
  • Audacity Fork Without Any Sentry Telemetry or Crash Reporting
    9 projects | news.ycombinator.com | 5 Jul 2021
    Here's an example of a smaller project that added telemetry without suffering a fork:

    https://github.com/com-lihaoyi/Ammonite/issues/607

  • Scripting with Java – Improving Approachability
    2 projects | /r/java | 12 May 2021
    Or ammonite - I've ran Gatling performance test from a simple script based on this gist it fetches all the dependencies, compiles and runs the test, producing nice html report..
  • 25 years of OCaml
    3 projects | /r/programming | 10 May 2021
    Scala with the Typelevel ecosystem. Stay on the jVM, but have a much more pleasant and robust experience, including a great REPL.

pyright

Posts with mentions or reviews of pyright. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-18.
  • Enhance Your Project Quality with These Top Python Libraries
    16 projects | dev.to | 18 Mar 2024
    Pyright is a fast type checker meant for large Python source bases. It can run in a “watch” mode and performs fast incremental updates when files are modified.
  • How to speed up Pyright + eglot.
    1 project | /r/emacs | 11 Nov 2023
    However, I made it faster for my use-case by changing some settings. Neovim allows to have these settings in the setup function for LSP. I was trying to figure out how do I change these settings with doom emacs. Pyright docs suggest to have these settings in pyrightconfig.json.
  • Mypy 1.6 Released
    5 projects | news.ycombinator.com | 17 Oct 2023
    Not exactly what you are looking for but maybe useful to others.

    https://github.com/microsoft/pyright/blob/main/docs/mypy-com...

  • VSCodium – Libre Open Source Software Binaries of VS Code
    10 projects | news.ycombinator.com | 4 Sep 2023
    You can use pyright instead[0]. It is the FOSS version of pyright, but having some features missing.

    [0]: https://github.com/microsoft/pyright

  • How do you enable semantic highlighting for Python?
    4 projects | /r/neovim | 7 Jul 2023
    Unfortunately, pyright explicitly stated that they are not interested in inlay hints or other language server features, that those will only be added to pylance. That's why I added it myself instead of submitting a pull request to pyright. See https://github.com/microsoft/pyright/issues/4325
  • How do I enable an LSP for json files?
    2 projects | /r/neovim | 7 Jul 2023
    return { -- add pyright to lspconfig { "neovim/nvim-lspconfig", ---@class PluginLspOpts opts = { ---@type lspconfig.options servers = { -- Listed servers will be automatically loaded to buffers jsonls = { settings = { json = { format = { enable = true, }, }, validate = { enable = true }, }, }, pyright = { settings = { python = { analysis = { -- https://github.com/microsoft/pyright/blob/main/docs/settings.md autoSearchPaths = false, useLibraryCodeForTypes = true, diagnosticMode = "openFilesOnly", }, }, }, }, }, -- Add folding capability to use LSP for ufo plugin capabilities = { textDocument = { foldingRange = { dynamicRegistration = false, lineFoldingOnly = true, }, }, }, }, }, }
  • VSCode isn't Recognizing installed Python Modules?
    1 project | /r/learnprogramming | 4 Jul 2023
    [{ "resource": "/Documents/Coding/VSCode/Projects/Photoeditor/PhotoEditor.py", "owner": "_generated_diagnostic_collection_name_#0", "code": { "value": "reportMissingModuleSource", "target": { "$mid": 1, "external": "https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportMissingModuleSource", "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportMissingModuleSource" } }, "severity": 4, "message": "Import \"requests\" could not be resolved from source", "source": "Pylance", "startLineNumber": 2, "startColumn": 8, "endLineNumber": 2, "endColumn": 16 }]
  • Pyright does not respect virtualenv (astronvim)
    3 projects | /r/neovim | 24 Jun 2023
    I don't use astro, but you can configure pyright by using a pyrightconfig.json or directly in the LSP configuration.
  • Eglot + pyright can not get completion on django.db.models
    6 projects | /r/emacs | 16 Jun 2023
  • Remote Development, Python IDE.
    1 project | /r/emacs | 17 May 2023
    I prefer jedi over pyright as pyright has crippled documentation support outside of VSCode. I also found jedi is make correct suggestions based on inferred type in some situations where pyright would need type annotation to provide completions, pyright is significantly faster though. Jedi with mypy and flake8 is comparable to pyright I think, but unfortunately mypy wasn't working over tramp. Also isort wasn't working over tramp, but jedi, black, importmagic and flake8 all worked.

What are some alternatives?

When comparing Ammonite-Ops and pyright you can also consider the following projects:

better-files - Simple, safe and intuitive Scala I/O

jedi-language-server - A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.

Shapeless - Generic programming for Scala

mypy - Optional static typing for Python

Scalaz - Principled Functional Programming in Scala

python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community

calculator - Windows Calculator: A simple yet powerful calculator that ships with Windows

python-language-server - Microsoft Language Server for Python

cats - Lightweight, modular, and extensible library for functional programming.

coc-jedi - coc.nvim wrapper for https://github.com/pappasam/jedi-language-server

scala.meta - Library to read, analyze, transform and generate Scala programs

pylance-release - Documentation and issues for Pylance