Skip to main content

Plugin or pull request?

Both routes give a method the same standing, since the built-ins have no privileges. The difference is where the code lives and who releases it.

Write a plugin when the method

Send a pull request when

When a plugin becomes first-party

A third-party plugin can become first-party, with an extra (pip install "laplacekit[mylib]") and an alias (lk.mylib), when

  • it wraps a widely used library, so that many users already hold that library’s objects;
  • it is small;
  • the laplacekit author will run its tests in CI.

The code stays a separate package and keeps importing only the public API. Overview has the full comparison.