Expand description
xls-rs - A library for reading, writing, and converting spreadsheet files
Supports CSV, Excel (xlsx/xls), ODS, Parquet, and Avro formats with formula evaluation.
Re-exports§
pub use anomaly::Anomaly;pub use anomaly::AnomalyDetector;pub use anomaly::AnomalyMethod;pub use anomaly::AnomalyResult;pub use api::ApiConfig;pub use api::ApiRequest;pub use api::ApiResponse;pub use api::ApiServer;pub use columnar::AvroHandler;pub use columnar::ParquetHandler;pub use config::Config;pub use converter::Converter;pub use csv_handler::CellRange;pub use csv_handler::CellRangeHelper;pub use csv_handler::CsvHandler;pub use csv_handler::StreamingCsvReader;pub use csv_handler::StreamingCsvWriter;pub use csv_handler::sanitize_csv_value;pub use csv_handler::sanitize_csv_row;pub use encryption::DataEncryptor;pub use encryption::EncryptionAlgorithm;pub use error::ErrorContext;pub use error::ErrorKind;pub use error::ResultExt;pub use error::XlsRsError;pub use error::XlsRsResult;pub use error_traits::ErrorCategory;pub use error_traits::ErrorCategoryType;pub use error_traits::ErrorContextProvider;pub use error_traits::ErrorSeverity;pub use error_traits::RecoverableError;pub use error_traits::ToTraitBasedError;pub use error_traits::TraitBasedError;pub use error_traits::UserFriendlyError;pub use excel::add_cell_to_row;pub use excel::add_cells_to_row;pub use excel::classify_cell;pub use excel::CellData;pub use excel::CellStyle;pub use excel::ChartConfig;pub use excel::ConditionalFormat;pub use excel::ConditionalRule;pub use excel::DataChartType;pub use excel::ExcelHandler;pub use excel::FeatureDetector;pub use excel::FeatureSeverity;pub use excel::RowData;pub use excel::Sparkline;pub use excel::SparklineGroup;pub use excel::SparklineType;pub use excel::StreamingXlsxWriter;pub use excel::UnsupportedFeature;pub use excel::WriteMode;pub use excel::WriteOptions;pub use excel::XlsxWriter;pub use format_detector::DefaultFormatDetector;pub use formula::FormulaEvaluator;pub use formula::FormulaResult;pub use geospatial::Coordinate;pub use geospatial::GeospatialCalculator;pub use google_sheets::GoogleSheetsHandler;pub use handler_registry::HandlerRegistry;pub use helpers::default_column_names;pub use helpers::filter_by_range;pub use helpers::matches_extension;pub use helpers::max_column_count;pub use helpers::parse_safe_f64;pub use helpers::parse_safe_i64;pub use helpers::parse_safe_usize;pub use helpers::with_cell_context;pub use helpers::with_file_context;pub use helpers::with_full_context;pub use helpers::validate_row_index;pub use helpers::validate_column_index;pub use lineage::LineageNode;pub use lineage::LineageTracker;pub use mcp::XlsRsMcpServer;pub use operations::AggFunc;pub use operations::DataOperations;pub use operations::JoinType;pub use operations::NoProgress;pub use operations::ProgressCallback;pub use operations::SortOrder;pub use operations::StderrProgress;pub use plugins::FunctionMetadata;pub use plugins::PluginFunction;pub use plugins::PluginMetadata;pub use plugins::PluginRegistry;pub use profiling::ColumnProfile;pub use profiling::DataProfile;pub use profiling::DataProfiler;pub use quality::IssueSeverity;pub use quality::QualityIssue;pub use quality::QualityReport;pub use quality::QualityReportGenerator;pub use streaming::DataChunk;pub use streaming::StreamingChannel;pub use streaming::StreamingDataReader;pub use streaming::StreamingDataWriter;pub use streaming::StreamingProcessor;pub use streaming_ops::get_info;pub use streaming_ops::head;pub use streaming_ops::infer_schema;pub use streaming_ops::tail;pub use streaming_ops::ColumnType;pub use streaming_ops::Schema;pub use string_utils::join_cell_reference;pub use string_utils::join_with_capacity;pub use string_utils::string_with_capacity;pub use string_utils::StringBuilder;pub use string_utils::estimate_csv_row_capacity;pub use string_utils::estimate_json_array_capacity;pub use text_analysis::KeywordResult;pub use text_analysis::LanguageResult;pub use text_analysis::SentimentResult;pub use text_analysis::TextAnalyzer;pub use text_analysis::TextStats;pub use timeseries::ResampleInterval;pub use timeseries::RollingWindow;pub use timeseries::TimeSeriesAgg;pub use timeseries::TimeSeriesPoint;pub use timeseries::TimeSeriesProcessor;pub use timeseries::TrendDirection;pub use traits::CellRangeProvider;pub use traits::DataOperator;pub use traits::DataReader;pub use traits::DataWriteOptions;pub use traits::DataWriter;pub use traits::FileHandler;pub use traits::FilterCondition;pub use traits::FilterOperator;pub use traits::FormatDetector;pub use traits::SchemaProvider;pub use traits::SortOperator;pub use traits::StreamingReader;pub use traits::StreamingWriter;pub use traits::TransformOperation;pub use traits::TransformOperator;pub use types::CellValue;pub use types::DataSet;pub use types::DataType;pub use types::DataRow;pub use validation::DataValidator;pub use validation::ValidationConfig;pub use validation::ValidationResult;pub use validation::ValidationRule;pub use workflow::WorkflowConfig;pub use workflow::WorkflowExecutor;pub use workflow::WorkflowStep;
Modules§
- anomaly
- Anomaly detection operations
- api
- REST API server mode
- capabilities
- Capabilities module for xls-rs
- capability_
catalog - Capability catalog shared by CLI/MCP.
- columnar
- Parquet and Avro file handling module
- common
- Common utilities and shared functionality for xls-rs
- config
- Configuration file support for xls-rs
- converter
- csv_
handler - encryption
- Data encryption operations
- error
- Enhanced error types with context information
- error_
traits - Trait-based error handling
- excel
- Excel file handling module
- format_
detector - Format detection for file types
- formula
- Formula evaluation module
- geospatial
- Geospatial operations
- google_
sheets - Google Sheets API handler for reading and writing Google Sheets
- handler_
registry - Handler registry for unified file format handling (DRY, KISS, SOC)
- helpers
- Helper functions for common operations (DRY principle)
- lineage
- Data lineage tracking
- mcp
- operations
- Data operations module
- plugins
- Plugin system for custom functions
- profiling
- Data profiling operations
- profiling_
handler - Data profiling operations
- quality
- Automated data quality reports
- regex_
cache - Cached regex patterns for performance
- streaming
- Real-time data streaming support
- streaming_
ops - Streaming operations for large files
- string_
utils - String utilities for performance optimization
- text_
analysis - Text analysis operations
- text_
analysis_ handler - Text analysis operations
- timeseries
- Time series operations
- traits
- Trait definitions for xls-rs operations
- types
- Type-safe data structures for xls-rs
- validation
- Data validation operations
- workflow
- Workflow orchestration