Pure analytics engine for statistical analysis and insight generation
Project description
Xelytics-Core
Pure analytics engine for statistical analysis and insight generation.
Installation
pip install -e .
Quick Start
from xelytics import analyze, AnalysisConfig
import pandas as pd
# Load your data
df = pd.read_csv("data.csv")
# Run automated analysis
result = analyze(df, mode="automated")
# Access results
print(f"Analyzed {result.metadata.row_count} rows")
print(f"Found {len(result.statistics)} statistical tests")
print(f"Generated {len(result.visualizations)} visualizations")
print(f"Produced {len(result.insights)} insights")
# Export to JSON
json_output = result.to_json()
API Contract
from xelytics import analyze, AnalysisConfig, AnalysisResult
result = analyze(
data=df,
mode="automated", # or "semi-automated"
config=AnalysisConfig(
significance_level=0.05,
enable_llm_insights=True,
max_visualizations=10,
)
)
Output Schema
AnalysisResult(
summary=DatasetSummary(...),
statistics=[StatisticalTestResult(...), ...],
visualizations=[VisualizationSpec(...), ...],
insights=[Insight(...), ...],
metadata=RunMetadata(...),
)
Design Principles
- Pure analytics engine - No HTTP, no database, no auth
- Deterministic - Same input = same output
- LLM is optional - Rule-based insights work without LLM
- Type-safe - All inputs/outputs are typed dataclasses
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xelytics_core-0.1.0.tar.gz
(37.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xelytics_core-0.1.0.tar.gz.
File metadata
- Download URL: xelytics_core-0.1.0.tar.gz
- Upload date:
- Size: 37.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39a03d9d318d00548f8947083d002be8de56b636cb6d35e4c745ba94cec2070f
|
|
| MD5 |
f97f5f51d43126598c7ebfb0d0980ffc
|
|
| BLAKE2b-256 |
ab39edd9f6df9b0a2071037c2b4f68b0c156a6bc82931a88a4a599e0185d7ebf
|
File details
Details for the file xelytics_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xelytics_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc7664d8cb40712a86d7219b6ddce71499b70c2760e233f94737a5890ec51b97
|
|
| MD5 |
b6a780c15cfc0e8bd577ed9f488537de
|
|
| BLAKE2b-256 |
5add3f5f6cbabe5309d3d9e317599f148245cf168c283aa8991b299a5019c788
|