Reference
Classes
Main classes provided by the package
- Exporter
-
Data exporter with many targets.
- Formatter
-
Output formatter with many styles.
- Processor
-
Data processor with many operations.
- Transformer
-
Data transformer with many conversions.
- Validator
-
Data validator with many checks.
Exporter Methods
Methods for the Exporter class
- Exporter.to_file()
-
Export to a file.
- Exporter.to_database()
-
Export to a database.
- Exporter.to_api()
-
Export via API call.
- Exporter.to_stream()
-
Export as byte stream.
- Exporter.to_clipboard()
-
Export to clipboard.
- Exporter.to_email()
-
Export via email.
Formatter Methods
Methods for the Formatter class
- Formatter.as_table()
-
Format as ASCII table.
- Formatter.as_markdown()
-
Format as Markdown.
- Formatter.as_html()
-
Format as HTML.
- Formatter.as_latex()
-
Format as LaTeX.
- Formatter.as_plain()
-
Format as plain text.
- Formatter.set_style()
-
Change the format style.
Processor Methods
Methods for the Processor class
- Processor.load()
-
Load data.
- Processor.filter()
-
Filter data by predicate.
- Processor.sort()
-
Sort data by key.
- Processor.group()
-
Group data by key.
- Processor.merge()
-
Merge with other data.
- Processor.deduplicate()
-
Remove duplicates.
Transformer Methods
Methods for the Transformer class
- Transformer.to_json()
-
Convert to JSON.
- Transformer.to_csv()
-
Convert to CSV.
- Transformer.to_xml()
-
Convert to XML.
- Transformer.from_json()
-
Parse from JSON.
- Transformer.from_csv()
-
Parse from CSV.
- Transformer.normalize()
-
Normalize data structure.
Validator Methods
Methods for the Validator class
- Validator.check_types()
-
Check value types.
- Validator.check_required()
-
Check required fields.
- Validator.check_ranges()
-
Check numeric ranges.
- Validator.check_patterns()
-
Check string patterns.
- Validator.check_uniqueness()
-
Check uniqueness constraints.
- Validator.validate_all()
-
Run all validations.