← Về thư mục
skills/geopandas/scripts/_common.py
- CliError · class · L61-L62 — class CliError(ValueError)
- positive_int · function · L65-L73 — def positive_int(value: str) -> int
- bounded_limit · function · L76-L82 — def bounded_limit(value: int, *, name: str, maximum: int) -> int
- finite_number · function · L85-L93 — def finite_number(value: Any, *, name: str) -> float
- reject_nonlocal · function · L96-L107 — def reject_nonlocal(value: str, *, label: str) -> None
- _root_path · function · L110-L122 — def _root_path(value: str | Path) -> Path
- _reject_symlink_components · function · L125-L135 — def _reject_symlink_components(candidate: Path, root: Path) -> None
- _candidate_path · function · L138-L149 — def _candidate_path(value: str | Path, root: Path, *, label: str) -> Path
- checked_input_file · function · L152-L179 — def checked_input_file( value: str | Path, *, root: str | Path = ".", max_bytes: int = DEFAULT_MAX_INPUT_BYTES, allowed_suffixes: set[str] | None = None, ) -> Path
- checked_output_file · function · L182-L198 — def checked_output_file( value: str | Path, *, root: str | Path = ".", allowed_suffixes: set[str], ) -> Path
- sha256_file · function · L201-L207 — def sha256_file(path: Path) -> str
- package_versions · function · L210-L218 — def package_versions() -> dict[str, str | None]
- native_versions · function · L221-L239 — def native_versions() -> dict[str, str | None]
- disable_proj_network · function · L242-L248 — def disable_proj_network() -> None
- crs_summary · function · L251-L287 — def crs_summary(value: Any) -> dict[str, Any]
- _json_scalar · function · L290-L298 — def _json_scalar(value: Any) -> Any
- _strict_object · function · L301-L307 — def _strict_object(pairs: list[tuple[str, Any]]) -> dict[str, Any]
- _reject_constant · function · L310-L311 — def _reject_constant(value: str) -> None
- inspect_geoparquet · function · L314-L379 — def inspect_geoparquet(path: Path) -> dict[str, Any]
- inspect_gdal_vector · function · L382-L434 — def inspect_gdal_vector(path: Path, *, layer: str | None = None) -> dict[str, Any]
- inspect_local_vector · function · L437-L446 — def inspect_local_vector(path: Path, *, layer: str | None = None) -> dict[str, Any]
- load_geodataframe · function · L449-L485 — def load_geodataframe( path: Path, *, layer: str | None, max_features: int, ) -> Any
- geometry_state · function · L488-L517 — def geometry_state(frame: Any) -> dict[str, Any]
- duplicate_column_state · function · L520-L531 — def duplicate_column_state(frame: Any, name: str | None) -> dict[str, Any]
- write_new_geopackage · function · L534-L570 — def write_new_geopackage( frame: Any, destination: Path, *, max_output_bytes: int = DEFAULT_MAX_OUTPUT_BYTES, ) -> None
- json_text · function · L573-L581 — def json_text(payload: Any) -> str
- emit_json · function · L584-L586 — def emit_json(payload: Any) -> None
- fail_json · function · L589-L605 — def fail_json(tool: str, exc: BaseException) -> int