Skip to main content

Crate datacell

Crate datacell 

Source
Expand description

datacell - 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::DatacellError;
pub use error::ErrorContext;
pub use error::ErrorKind;
pub use error::ResultExt;
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::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::RowData;
pub use excel::Sparkline;
pub use excel::SparklineGroup;
pub use excel::SparklineType;
pub use excel::StreamingXlsxWriter;
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::DatacellMcpServer;
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 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 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 datacell
cli
CLI command definitions and handlers
columnar
Parquet and Avro file handling module
common
Common utilities and shared functionality for datacell
config
Configuration file support for datacell
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
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 datacell operations
types
Type-safe data structures for datacell
validation
Data validation operations
workflow
Workflow orchestration