Expand description
Cross format conversion output and the format dispatcher.
Structs§
- Conversion
- Text in the target format plus every fidelity loss the writer took. Nothing drops silently: a field the target cannot represent appears here as a warning naming the element and field.
Enums§
- Dist
Target Format - A writable distribution format.
Functions§
- convert_
file - Parses
path(format fromfromor the file itself) and writes it astoin one call. The warnings carry both the parse warnings and the writer’s fidelity losses. - convert_
str - Parses
textasformatand writes it astoin one call. The warnings carry both the parse warnings and the writer’s fidelity losses. - dist_
target_ from_ name - Resolves common names and file extensions to a target format.
- parse_
file - Parses
path, taking the format fromfromwhen given, the.dssextension otherwise, and for.jsonthe shared distribution classifier. - parse_
str - Parses
textin the named format (seedist_target_from_name).