Thanks to visit codestin.com
Credit goes to lib.rs

#dataframe #data-processing #analytics

veloxx

Veloxx: High-performance, lightweight Rust library for in-memory data processing and analytics. Features DataFrames, Series, advanced I/O (CSV, JSON, Parquet), machine learning (linear regression, K-means, logistic regression), time-series analysis, data visualization, parallel processing, and multi-platform bindings (Python, WebAssembly). Designed for minimal dependencies, optimal memory usage, and blazing speed - ideal for data science, analytics, and performance-critical applications.

12 unstable releases (3 breaking)

0.4.0 Nov 26, 2025
0.3.2 Aug 29, 2025
0.3.1 Jul 25, 2025
0.2.4 Jul 9, 2025
0.1.3 Jul 1, 2025

#257 in Machine learning

MIT and GPL-3.0-only

2MB
22K SLoC

Veloxx Logo

Veloxx: Ultra-High Performance Data Processing & Analytics Library

Crates.io PyPI npm GitHub docs.rs CI License: MIT Documentation


๐Ÿš€ v0.4.0 Released! Major performance overhaul with SIMD acceleration, Pivot, and Outer Join support.

Veloxx is a blazing-fast, ultra-lightweight data processing and analytics library in Rust, with seamless bindings for Python and WebAssembly. Built from the ground up for maximum performance, featuring advanced SIMD acceleration, memory optimization, and parallel processing that often outperforms industry leaders.

๐Ÿ† Performance Highlights

  • SIMD Acceleration: Vectorized aggregation (sum, mean, min, max) now 30-90x faster than scalar implementations.
  • Parallel Processing: Hybrid execution strategy using Rayon for large datasets (>500k rows), achieving near-linear scaling.
  • Optimized I/O: Multi-threaded memory-mapped CSV reading and zero-copy Parquet integration.
  • Lazy Evaluation: Refined Query Optimizer with predicate pushdown for efficient filtering.

โœจ New Features (v0.4.0)

  • Pivot: Reshape DataFrames from long to wide format with aggregation.
  • Outer Join: Full support for Left, Right, Inner, and Outer joins.
  • Deterministic Columns: Refactored internal storage to guarantee consistent column ordering.
  • Python Bindings: Updated PyDataFrame with pivot and outer_join support.

๐Ÿงฉ Core Principles & Design Goals

  • ๐Ÿš€ Performance First: Advanced SIMD, parallel processing, cache-optimized algorithms
  • ๐Ÿชถ Lightweight: Minimal dependencies, optimized memory footprint
  • ๐Ÿฆบ Safety & Reliability: Memory-safe Rust, comprehensive testing
  • ๐Ÿง‘โ€๐Ÿ’ป Developer Experience: Intuitive APIs, excellent documentation
  • ๐Ÿ”ง Production Ready: Zero-warning compilation, extensive benchmarking

๐Ÿšฉ Key Features

Core Data Structures

  • DataFrame and Series for lightning-fast tabular data processing
  • SIMD-optimized operations with AVX2/NEON acceleration
  • Memory-efficient storage with advanced compression

High-Performance Operations

  • ๐Ÿš€ Ultra-fast analytics: filtering, joining, grouping, aggregation, pivoting
  • ๐Ÿ“Š Advanced statistics: correlation, regression, time-series analysis
  • Parallel processing: Multi-threaded execution with work-stealing
  • ๐Ÿงฎ Vectorized math: SIMD-accelerated arithmetic operations

Advanced I/O & Integration

  • ๐Ÿ“‚ Multiple formats: CSV, JSON, Parquet support
  • ๐Ÿ”Œ Database connectivity: SQLite, PostgreSQL, MySQL
  • ๐ŸŒŠ Streaming operations: Memory-efficient large dataset processing
  • โšก Async I/O: Non-blocking file and network operations

Data Quality & ML

  • ๐Ÿงน Data cleaning: Automated outlier detection, validation
  • ๐Ÿค– Machine learning: Linear/logistic regression, clustering, preprocessing
  • ๐Ÿ“ˆ Visualization: Charts, plots, statistical graphics
  • ๐Ÿ” Data profiling: Schema inference, quality metrics

Multi-Language Support

  • ๐Ÿฆ€ Rust: Native, zero-cost abstractions
  • Python: PyO3 bindings with NumPy integration
  • ๐ŸŒ WebAssembly: Browser and Node.js support
  • ๐Ÿ“ฆ Easy installation: Available on crates.io, PyPI, npm

โšก Quick Start

Rust

[dependencies]
veloxx = "0.4.0"
use veloxx::dataframe::DataFrame;
use veloxx::series::Series;

let df = DataFrame::new_from_csv("data.csv")?;
let filtered = df.filter(&your_condition)?;
let grouped = df.group_by(vec!["category"]).agg(vec![("amount", "sum")])?;

Python

import veloxx

df = veloxx.PyDataFrame({"name": veloxx.PySeries("name", ["Alice", "Bob"])})
filtered = df.filter(...)
pivoted = df.pivot(values="score", index=["name"], columns="subject", agg_fn="mean")

JavaScript/Wasm

const veloxx = require("veloxx");
const df = new veloxx.WasmDataFrame({name: ["Alice", "Bob"]});
const filtered = df.filter(...);

๐Ÿ› ๏ธ Feature Flags

Enable only what you need:

  • advanced_io โ€“ Parquet, databases, async
  • data_quality โ€“ Schema checks, anomaly detection
  • window_functions โ€“ Window analytics
  • visualization โ€“ Charting
  • ml โ€“ Machine learning
  • python โ€“ Python bindings
  • wasm โ€“ WebAssembly

๐Ÿ“š Documentation

๐Ÿง‘โ€๐Ÿ’ป Examples

Run ready-made examples:

cargo run --example basic_dataframe_operations
cargo run --example advanced_io --features advanced_io
# ... more in the examples/ folder

๐Ÿค Contributing

See CONTRIBUTING.md for guidelines. Please review our Code of Conduct.

๐Ÿ’ฌ Support

๐Ÿ“ License

MIT License. See LICENSE.

Dependencies

~8โ€“34MB
~419K SLoC