laspy.compression module

LazBackend

class laspy.compression.LazBackend(value)[source]

Bases: Enum

Supported backends for reading and writing LAS/LAZ

LazrsParallel = 0

lazrs in multi-thread mode

Lazrs = 1

lazrs in single-thread mode

Laszip = 2

laszip backend

is_available() bool[source]

Returns true if the backend is available

static detect_available() Tuple[LazBackend, ...][source]

Returns a tuple containing the available backends in the current python environment