geovista.report#

Generate an environment report of the Python packages and GPU hardware resources.

ノート#

Added in version 0.4.0.

属性#

NCOL

Default number of package columns in report HTML table.

PACKAGES_CORE

The core packages of geovista to include in the environment report.

PACKAGES_OPTIONAL

The optional packages of geovista to include in the environment report.

PackageLike

Type alias for a package module or package name.

TEXT_WIDTH

Default text width of non-HTML report.

Classes#

Report

Generate an environment package and hardware report.

モジュール内容#

class geovista.report.Report(*, additional=None, ncol=None, text_width=None, sort=True, gpu=True)[ソース]#

Bases: scooby.Report

Generate an environment package and hardware report.

ノート#

Added in version 0.4.0.

Generate an environment package and hardware report.

Parameters:
additionalPackageLike or list of PackageLike, optional

Extra package modules or package names to include in the report.

ncolint, optional

The number of package columns in a HTML table report. Defaults to NCOL.

text_widthint, optional

The number of character columns in a non-HTML report. Defaults to TEXT_WIDTH.

sortbool, optional

Alphabetically sort the packages. Defaults to True.

gpubool, optional

Detect GPU hardware details. Defaults to True. Disable this option if experiencing rendering issues to ensure report generation.

ノート

Added in version 0.4.0.

geovista.report.NCOL: int = 3#

Default number of package columns in report HTML table.

geovista.report.PACKAGES_CORE: list[str] = ['cartopy', 'click', 'click-default-group', 'cmocean', 'colorcet', 'geopy', 'geovista',...#

The core packages of geovista to include in the environment report.

geovista.report.PACKAGES_OPTIONAL: list[str] = ['fastparquet', 'h3', 'pandas', 'pyqt', 'pyvistaqt', 'rasterio', 'ipython', 'imageio', 'meshio',...#

The optional packages of geovista to include in the environment report.

type geovista.report.PackageLike = str | types.ModuleType#

Type alias for a package module or package name.

geovista.report.TEXT_WIDTH: int = 88#

Default text width of non-HTML report.