get_pyproject_version() — langchain Function Reference
Architecture documentation for the get_pyproject_version() function in check_version.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 41e54671_d744_a8a7_8b99_35aaecf5fe92["get_pyproject_version()"] 570b4455_4ff1_a6c4_38bb_585e663f9d71["check_version.py"] 41e54671_d744_a8a7_8b99_35aaecf5fe92 -->|defined in| 570b4455_4ff1_a6c4_38bb_585e663f9d71 14613eed_2607_1890_cf55_96391761f931["main()"] 14613eed_2607_1890_cf55_96391761f931 -->|calls| 41e54671_d744_a8a7_8b99_35aaecf5fe92 style 41e54671_d744_a8a7_8b99_35aaecf5fe92 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/scripts/check_version.py lines 13–17
def get_pyproject_version(pyproject_path: Path) -> str | None:
"""Extract version from `pyproject.toml`."""
content = pyproject_path.read_text()
match = re.search(r'^version\s*=\s*"([^"]+)"', content, re.MULTILINE)
return match.group(1) if match else None
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does get_pyproject_version() do?
get_pyproject_version() is a function in the langchain codebase, defined in libs/core/scripts/check_version.py.
Where is get_pyproject_version() defined?
get_pyproject_version() is defined in libs/core/scripts/check_version.py at line 13.
What calls get_pyproject_version()?
get_pyproject_version() is called by 1 function(s): main.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free