Task#

class Task[source]#

Bases: Config

Sorts the rows of a CSV file according to a specified column

prog_: ClassVar[Optional[str]] = 'sort_csv'#

Program name

ini_strict_sections_: ClassVar[Sequence[str]] = ['sort_csv']#

Names of additional sections to parse in configuration files, unknown keys error

ini_relaxed_sections_: ClassVar[Sequence[str]] = ['sort']#

Names of sections to parse in configuration files, with unknown keys ignored

env_prefix_: ClassVar[str] = 'RASSINE'#

Prefix for automatically derived environment variable names

config: Sequence[pathlib.Path][Sequence[Path]]#

Use the specified configuration files.

Files can be separated by commas/the command can be invoked multiple times.

root: Path[Path]#

Root path of the data, used as a base for other relative paths

logging_level: LoggingLevel[LoggingLevel]#

Logging level to use

column: str[str]#

Column to sort by

file: Path[Path]#

CSV file to reorder

__init__(config, root, logging_level, column, file)#