libvcs icon indicating copy to clipboard operation
libvcs copied to clipboard

docs: Comparison with...

Open tony opened this issue 3 years ago • 0 comments

  • subprocess

    Firstly, you can (and should!) see if plain old subprocess will do the trick. That saves you having to add an extra package.

    libvcs uses subprocess under the hood. Its only dependency is typing-extensions.

    It will:

    • Parse VCS URLs
    • Autocompletion
      • Commands (methods on libvcs.cmd.Git
      • Parameters
    • Pipes directly to your vcs binary, e.g. /usr/bin/git, so it'll be connected to whatever system git you have
  • sh

    Unlike subprocess, this one requires adding a package but has the benefit of an intuitive interface.

  • Dulwich

  • pygit2

    • LGPL: Do you have $300 / hour and years of life to debate licenses in a jurisdiction, simply because the wrong license was used? Have you really read the license? Do you think it conveys its meaning clearly, unambiguously, and all jurisdictions and parties will simply agree on interpretations?

tony avatar Jul 19 '22 02:07 tony