API Reference#

pctasks.core#

The pctasks.core package provides core functionality used by the rest of pctasks.

pctasks.core.storage#

Helper functions and classes for dealing with local or remote file systems.

pctasks.core.storage.Storage()

Abstraction over storage.

pctasks.core.storage.StorageFactory([...])

Factory that produces Storage objects.

pctasks.core.storage.blob.BlobUri(uri)

Represents a blob uri Azure Blob Storage.

pctasks.core.storage.blob.BlobStorage(...[, ...])

Utility class for blob storage access.

pctasks.core.storage.blob.maybe_rewrite_blob_storage_url(url)

Rewrite HTTP blob-storage URLs to blob:// URLs.

pctasks.task#

The pctasks.task package provides functionality for building tasks to be executed in PCTasks.

pctasks.task.task.Task(*args, **kwargs)

Task[T, U] is the base class for all tasks to be executed by PCTasks.

pctasks.task.task.TaskContext(...)

Context that is passed into Task run methods.

pctasks.dataset#

The pctasks.dataset package provides functionality for defining PCTasks workflows that process STAC Items and Collections.

pctasks.dataset.collection.Collection()

Base class for defining how Items in a Collection are created.

pctasks.client#

The pctasks.client package provides functionality for interacting with the PCTasks API

pctasks.client.client.PCTasksClient([settings])