betty.indicator package#

Submodules#

Module contents#

Data indicators.

final class betty.indicator.AnyIndex#

Bases: Indicator

A sequence item indicator.

format() str#

Format the indicator to a string.

final class betty.indicator.AnyKey#

Bases: Indicator

A mapping item indicator.

format() str#

Format the indicator to a string.

class betty.indicator.Indicator#

Bases: ABC

Describe a location of a piece of data.

abstractmethod format() str#

Format the indicator to a string.

final class betty.indicator.Path#

Bases: Indicator

A file on disk.

__init__(path: StrPath, /)#
format() str#

Format the indicator to a string.

final class betty.indicator.Url#

Bases: Indicator

A URL.

__init__(url: str, /)#
format() str#

Format the indicator to a string.