← Về thư mục
openai4s/pkgscan.py
- normalize_pkg · function · L38-L44 — def normalize_pkg(name: str) -> str
- EnvMetadata · class · L48-L74 — class EnvMetadata
- load · method · L59-L74 — def load(cls, env_dir: Path) -> "EnvMetadata"
- detect_language · function · L77-L86 — def detect_language(env_dir: Path) -> str
- _collect_conda · function · L92-L105 — def _collect_conda(root: Path) -> set[str]
- _read_field · function · L108-L117 — def _read_field(path: Path, key: str) -> str | None
- _collect_pip · function · L120-L152 — def _collect_pip(root: Path, requested_only: bool = False) -> set[str]
- _collect_r · function · L155-L165 — def _collect_r(root: Path) -> set[str]
- collect_packages · function · L168-L180 — def collect_packages( env_dir: Path, *, language: str | None = None, requested_only: bool = False ) -> set[str]
- EnvScan · class · L184-L202 — class EnvScan
- to_dict · method · L194-L202 — def to_dict(self) -> dict
- scan_envs · function · L205-L231 — def scan_envs( env_dirs: list[str | Path], *, require: list[str] | None = None, requested_only: bool = False, ) -> list[dict]