Item#

class scikitplot.cleanprompt.Item(status, relative, format=None, output=None, reason='', count=0, kinds=<factory>)[source]#

What happened to one file of a folder or archive.

Parameters:
status{‘encoded’, ‘decoded’, ‘skipped’, ‘refused’}

skipped: no selected format reads it, or it is a link or a version-control folder. refused: it could not be read safely. Neither is written to the output.

relativestr

Its path relative to the folder or archive root, with /.

formatstr or None

The format that read it.

outputstr or None

Where it was written, relative to the output root.

reasonstr

Why it was skipped or refused; empty otherwise.

countint

Distinct values replaced.

kindsdict

Distinct values replaced, by kind.

Parameters:
count: int = 0#
format: str | None = None#
kinds: dict[str, int][source]#
output: str | None = None#
reason: str = ''#
relative: str[source]#
status: str[source]#