large_image package

Subpackages

Submodules

large_image.config module

large_image.config.getConfig(key=None, default=None)[source]

Get the config dictionary or a value from the cache config settings.

Parameters
  • key – if None, return the config dictionary. Otherwise, return the value of the key if it is set or the default value if it is not.

  • default – a value to return if a key is requested and not set.

Returns

either the config dictionary or the value of a key.

large_image.config.setConfig(key, value)[source]

Set a value in the config settings.

Parameters
  • key – the key to set.

  • value – the value to store in the key.

large_image.constants module

class large_image.constants.SourcePriority[source]

Bases: object

FALLBACK = 8
FALLBACK_HIGH = 7
HIGH = 3
HIGHER = 2
LOW = 5
LOWER = 6
MANUAL = 9
MEDIUM = 4
NAMED = 0
PREFERRED = 1

large_image.exceptions module

exception large_image.exceptions.TileCacheConfigurationError[source]

Bases: TileCacheError

exception large_image.exceptions.TileCacheError[source]

Bases: TileGeneralError

exception large_image.exceptions.TileGeneralError[source]

Bases: Exception

large_image.exceptions.TileGeneralException

alias of TileGeneralError

exception large_image.exceptions.TileSourceAssetstoreError[source]

Bases: TileSourceError

large_image.exceptions.TileSourceAssetstoreException

alias of TileSourceAssetstoreError

exception large_image.exceptions.TileSourceError[source]

Bases: TileGeneralError

large_image.exceptions.TileSourceException

alias of TileSourceError

exception large_image.exceptions.TileSourceFileNotFoundError(*args, **kwargs)[source]

Bases: TileSourceError, FileNotFoundError

exception large_image.exceptions.TileSourceInefficientError[source]

Bases: TileSourceError

exception large_image.exceptions.TileSourceXYZRangeError[source]

Bases: TileSourceError

Module contents