FormatSpec#
- class scikitplot.cleanprompt.FormatSpec(name, version, summary, extensions, splitter, round_trip, options=(), packs=(), source='<builtin>')[source]#
One validated file format.
- Parameters:
- namestr
Unique format name.
- versionint
The definition’s own version.
- summarystr
One line.
- extensionstuple of str
Lower-case, with the leading dot.
- splitterstr
One of
SPLITTERS.- round_tripbool
Whether decode restores the original bytes exactly.
- optionstuple of (str, object)
Splitter options, sorted, so the spec stays hashable.
- packstuple of str
Packs
packs("auto")selects for this format.- sourcestr
Where it was loaded from.
- Parameters: