#![allow(clippy::all)]
#![allow(dead_code)]
#![allow(unused_variables)]
#![allow(unused_imports)]
#![allow(clippy::needless_return)]
#![allow(clippy::redundant_closure)]
#![allow(clippy::let_and_return)]
#![allow(clippy::too_many_arguments)]
#![allow(clippy::needless_lifetimes)]
#[macro_use]
#[cfg(feature = "excel")]
extern crate simple_excel_writer;
pub mod core;
pub mod compute;
#[cfg(feature = "distributed")]
pub mod arrow_integration;
pub mod connectors;
pub mod config;
pub mod storage;
pub mod column;
pub mod dataframe;
pub mod error;
pub mod groupby;
pub mod index;
pub mod io;
pub mod jupyter;
pub mod large;
pub mod ml;
pub mod na;
pub mod optimized;
pub mod parallel;
pub mod pivot;
pub mod series;
pub mod stats;
pub mod streaming;
pub mod temporal;
pub mod time_series;
pub mod vis;
pub mod graph;
pub mod versioning;
pub mod schema_evolution;
pub mod audit;
pub mod multitenancy;
pub mod auth;
pub mod analytics;
pub mod plugins;
pub mod scirs2_integration;
pub use scirs2_integration::dataframe_ext::SciRS2Ext;
#[cfg(feature = "scirs2")]
pub use scirs2_integration::{SciRS2LinAlg, SciRS2Stats};
#[doc(hidden)]
pub mod utils;
#[cfg(feature = "wasm")]
pub mod web;
#[cfg(cuda_available)]
pub mod gpu;
#[cfg(feature = "distributed")]
pub mod distributed;
pub use core::column::{
BitMask as CoreBitMask, Column as CoreColumn, ColumnCast, ColumnTrait,
ColumnType as CoreColumnType,
};
pub use core::data_value::{DataValue, DataValueExt, DisplayExt};
pub use core::error::{Error, Result};
pub use core::index::{Index as CoreIndex, IndexTrait};
pub use core::multi_index::MultiIndex as CoreMultiIndex;
pub use config::credentials::{
CredentialBuilder, CredentialMetadata, CredentialStore, CredentialStoreConfig, CredentialType,
EncryptedCredential,
};
pub use config::{
AccessControlConfig, AuditConfig, AwsConfig, AzureConfig, CachingConfig, CloudConfig,
ConnectionPoolConfig, DatabaseConfig, EncryptionConfig, GcpConfig, GlobalCloudConfig,
JitConfig, LogRotationConfig, LoggingConfig, MemoryConfig, PandRSConfig, PerformanceConfig,
SecurityConfig, SslConfig, ThreadingConfig, TimeoutConfig,
};
pub use column::{BooleanColumn, Column, ColumnType, Float64Column, Int64Column, StringColumn};
pub use dataframe::DataFrame;
pub use dataframe::{MeltOptions, StackOptions, UnstackOptions};
pub use error::PandRSError;
pub use groupby::GroupBy;
pub use index::{
DataFrameIndex, Index, IndexTrait as LegacyIndexTrait, MultiIndex, RangeIndex, StringIndex,
StringMultiIndex,
};
pub use na::NA;
pub use optimized::{AggregateOp, JoinType, LazyFrame, OptimizedDataFrame};
pub use parallel::ParallelUtils;
pub use series::{Categorical, CategoricalOrder, NASeries, Series, StringCategorical};
pub use stats::{DescriptiveStats, LinearRegressionResult, TTestResult};
pub use vis::{OutputFormat, PlotConfig, PlotType};
pub use vis::svg::{
BarChart as SvgBarChart, BarOrientation as SvgBarOrientation, Color as SvgColor,
ColorScheme as SvgColorScheme, DrawStyle, HeatMap as SvgHeatMap, LegendPosition,
LineChart as SvgLineChart, LineSeries, Margins as SvgMargins, MarkerShape, PathBuilder,
PieChart as SvgPieChart, ScatterPlot as SvgScatterPlot, SvgCanvas, SvgChartConfig,
SvgHistogram, SvgPlotType, SvgVisualize, Transform as SvgTransform,
};
pub use jupyter::{
get_jupyter_config, init_jupyter, jupyter_dark_mode, jupyter_light_mode, set_jupyter_config,
JupyterColorScheme, JupyterConfig, JupyterDisplay, JupyterMagics, TableStyle, TableWidth,
};
pub use ml::anomaly::{IsolationForest, LocalOutlierFactor, OneClassSVM};
pub use ml::clustering::{AgglomerativeClustering, DistanceMetric, KMeans, Linkage, DBSCAN};
pub use ml::dimension::{TSNEInit, PCA, TSNE};
pub use ml::metrics::classification::{accuracy_score, f1_score, precision_score, recall_score};
pub use ml::metrics::regression::{
explained_variance_score, mean_absolute_error, mean_squared_error, r2_score,
root_mean_squared_error,
};
pub use ml::models::ensemble::{
GradientBoostingClassifier, GradientBoostingConfig, GradientBoostingRegressor,
RandomForestClassifier, RandomForestConfig, RandomForestRegressor,
};
pub use ml::models::linear::{LinearRegression, LogisticRegression};
pub use ml::models::neural::{
Activation, LossFunction, MLPClassifier, MLPConfig, MLPConfigBuilder, MLPRegressor,
};
pub use ml::models::tree::{
DecisionTreeClassifier, DecisionTreeConfig, DecisionTreeRegressor, SplitCriterion,
};
pub use ml::models::{
train_test_split, CrossValidation, ModelEvaluator, ModelMetrics, SupervisedModel,
UnsupervisedModel,
};
pub use ml::pipeline::{Pipeline, PipelineStage, PipelineTransformer};
pub use ml::preprocessing::{
Binner, FeatureSelector, ImputeStrategy, Imputer, MinMaxScaler, OneHotEncoder,
PolynomialFeatures, StandardScaler,
};
pub use large::{external_sort, merge_sorted_chunks};
pub use large::{hash_join_out_of_core, OutOfCoreJoinType};
pub use large::{AggOp as OutOfCoreAggOp, OutOfCoreConfig, OutOfCoreReader, OutOfCoreWriter};
pub use large::{ChunkedDataFrame, DiskBasedDataFrame, DiskBasedOptimizedDataFrame, DiskConfig};
pub use streaming::{
AggregationType,
BackpressureBuffer,
BackpressureChannel,
BackpressureConfig,
BackpressureConfigBuilder,
BackpressureStats,
BackpressureStrategy,
DataStream,
FlowController,
MetricType,
MultiColumnAggregator,
RealTimeAnalytics,
StreamAggregator,
StreamConfig,
StreamConnector,
StreamProcessor,
StreamRecord,
TimeWindow,
WindowAggregation,
WindowConfig,
WindowConfigBuilder,
WindowResult,
WindowType,
WindowedAggregator,
};
pub use time_series::{
ArimaForecaster,
AugmentedDickeyFullerTest,
AutoArima,
AutocorrelationAnalysis,
ChangePointDetection,
DateTimeIndex,
DecompositionMethod,
DecompositionResult,
Differencing,
ExponentialSmoothingForecaster,
FeatureSet,
ForecastMetrics,
ForecastResult,
Forecaster,
Frequency,
KwiatkowskiPhillipsSchmidtShinTest,
LinearTrendForecaster,
MissingValueStrategy,
ModelSelectionCriterion,
ModelSelectionResult,
Normalization,
OutlierDetection,
SarimaForecaster,
SeasonalDecomposition,
SeasonalTest,
SeasonalityAnalysis,
SimpleMovingAverageForecaster,
StationarityTest,
StatisticalFeatures,
TimePoint,
TimeSeries,
TimeSeriesBuilder,
TimeSeriesFeatureExtractor,
TimeSeriesPreprocessor,
TimeSeriesStats,
TrendAnalysis,
WhiteNoiseTest,
WindowFeatures,
};
#[cfg(feature = "wasm")]
pub use web::{ColorTheme, VisualizationType, WebVisualization, WebVisualizationConfig};
pub use compute::lazy::LazyFrame as ComputeLazyFrame;
pub use compute::parallel::ParallelUtils as ComputeParallelUtils;
pub use storage::column_store::ColumnStore;
pub use storage::disk::DiskStorage;
pub use storage::memory_mapped::MemoryMappedFile;
pub use storage::string_pool::StringPool as StorageStringPool;
#[cfg(cuda_available)]
pub use compute::gpu::{init_gpu, GpuBenchmark, GpuConfig, GpuDeviceStatus};
#[cfg(cuda_available)]
pub use dataframe::gpu::DataFrameGpuExt;
#[cfg(cuda_available)]
pub use gpu::benchmark::{BenchmarkOperation, BenchmarkResult, BenchmarkSummary};
#[cfg(cuda_available)]
pub use gpu::{get_gpu_manager, GpuManager};
#[cfg(cuda_available)]
pub use temporal::gpu::SeriesTimeGpuExt;
#[cfg(feature = "distributed")]
pub use distributed::core::{DistributedConfig, DistributedDataFrame, ToDistributed};
#[cfg(feature = "distributed")]
pub use distributed::execution::{ExecutionContext, ExecutionEngine, ExecutionPlan};
#[cfg(feature = "flight")]
pub use distributed::flight::{PandRsFlightClient, PandRsFlightServer};
pub use graph::{
bellman_ford_default,
betweenness_centrality,
bfs,
closeness_centrality,
connected_components,
degree_centrality,
dfs,
dijkstra,
dijkstra_default,
eigenvector_centrality_default,
floyd_warshall_default,
from_adjacency_matrix,
from_edge_dataframe,
has_cycle,
hits_default,
is_connected,
label_propagation,
louvain_default,
modularity,
pagerank,
pagerank_default,
shortest_path_bfs,
strongly_connected_components,
to_adjacency_matrix,
to_edge_dataframe,
topological_sort,
AllPairsShortestPaths,
BfsResult,
ComponentResult,
DfsResult,
Edge,
EdgeId,
Graph,
GraphBuilder,
GraphError,
GraphType,
Node,
NodeId,
ShortestPathResult,
};
pub use versioning::{
DataFrameVersioning,
DataSchema,
DataVersion,
LineageConfig,
LineageTracker,
Operation,
OperationType,
SharedLineageTracker,
TrackerStats,
VersionDiff,
VersionId,
VersionedTransform,
VersioningError,
};
pub use schema_evolution::{
BreakingChange, ColumnSchema, CompatibilityReport, DataFrameSchema, DefaultValue, Migration,
MigrationBuilder, SchemaChange, SchemaConstraint, SchemaDataType, SchemaFormat, SchemaMigrator,
SchemaRegistry, SchemaVersion, ValidationError, ValidationErrorType, ValidationReport,
};
pub use audit::{
global_logger,
init_global_logger,
log_global,
AuditConfig as AuditLogConfig,
AuditConfigBuilder as AuditLogConfigBuilder,
AuditEntry,
AuditLogger,
AuditStats,
EventCategory,
LogContext,
LogDestination,
LogLevel,
SharedAuditLogger,
};
pub use multitenancy::{
create_shared_manager, DatasetId, DatasetMetadata, IsolationContext, Permission, ResourceQuota,
SharedTenantManager, TenantAuditEntry, TenantConfig, TenantId, TenantManager, TenantOperation,
TenantUsage,
};
pub use auth::{
create_shared_auth_manager,
decode_jwt,
encode_jwt,
get_token_expiration,
is_token_expired,
verify_jwt,
ApiKeyInfo,
ApiKeyManager,
ApiKeyStats,
AuthEvent,
AuthEventType,
AuthManager,
AuthMethod,
AuthResult,
AuthorizationRequest,
IntrospectionResponse,
JwtConfig,
OAuthClient,
OAuthClientInfo,
OAuthConfig,
OAuthGrantType,
RefreshToken,
ScopedApiKey,
Session,
SessionContext,
SessionStore,
SharedAuthManager,
TokenClaims,
TokenRequest,
TokenResponse,
UserInfo,
};
pub use analytics::{
create_default_rules,
global_dashboard,
init_global_dashboard,
record_global,
time_global,
ActiveAlert,
AlertHandler,
AlertManager,
AlertMetric,
AlertRule,
AlertSeverity,
Dashboard,
DashboardConfig,
DashboardSnapshot,
LoggingAlertHandler,
Metric,
MetricStats,
MetricType as AnalyticsMetricType,
MetricValue,
MetricsCollector,
OperationCategory,
OperationRecord,
RateCalculator,
ResourceSnapshot,
ScopedTimer,
ThresholdOperator,
TimeResolution,
};
pub const VERSION: &str = env!("CARGO_PKG_VERSION");