Metadata-Version: 2.4
Name: x2y-metric
Version: 0.1.1
Summary: Compute the X2Y metric for detecting relationships between variables
Author-email: Your Name <your.email@example.com>
License: MIT
Requires-Python: >=3.8
Requires-Dist: numpy>=1.23
Requires-Dist: pandas>=1.5
Requires-Dist: scikit-learn>=1.2
Description-Content-Type: text/markdown

# x2y-metric
Compute the X2Y metric for detecting relationships between variables.

## Installation
```bash
pip install x2y-metric


## Usage
```python
from x2y_metric import x2y, dx2y
import pandas as pd

# Single pair
x = [1, 2, 3]
y = [2, 4, 6]
print(x2y(x, y))  # ~100%

# DataFrame
df = pd.DataFrame({"x": [1, 2, 3], "y": [2, 4, 6]})
print(dx2y(df))
```

Build:
```bash
uv build
