MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / library

Method library

lean_py/project.py:134–136  ·  view source on GitHub ↗

Build and return a :class:`LeanLibrary` for this project.

(self)

Source from the content-addressed store, hash-verified

132 run_command(["lake", "build"], cwd=str(self._dir))
133
134 def library(self) -> LeanLibrary:
135 """Build and return a :class:`LeanLibrary` for this project."""
136 return LeanLibrary.from_lake(self._dir, "Managed", build=True)
137
138 def kernel(self) -> Kernel:
139 """Build and return a :class:`Kernel` backed by this project."""

Callers 1

kernelMethod · 0.95

Calls 1

from_lakeMethod · 0.80

Tested by

no test coverage detected