Metadata-Version: 2.4
Name: Brigli
Version: 0.1.0
Summary: Fast, beautiful EDA and ML statistics for Python developers
License: MIT
Keywords: machine learning,data analysis,visualization,EDA,statistics
Author: Brigli Bushati's Coding
Author-email: bushatibrigli@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Dist: matplotlib (>=3.6.0)
Requires-Dist: numpy (>=1.23.0)
Requires-Dist: pandas (>=1.5.0)
Requires-Dist: scipy (>=1.9.0)
Project-URL: Documentation, https://github.com/Brigli-Bushati/brigli#readme
Project-URL: Homepage, https://github.com/Brigli-Bushati/brigli
Project-URL: Repository, https://github.com/Brigli-Bushati/brigli
Description-Content-Type: text/markdown

# brigli

**Fast, beautiful EDA and ML statistics for Python developers.**

[![PyPI version](https://badge.fury.io/py/brigli.svg)](https://badge.fury.io/py/brigli)
[![Python](https://img.shields.io/pypi/pyversions/brigli)](https://pypi.org/project/brigli/)
[![CI](https://github.com/yourusername/brigli/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/brigli/actions)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

Turn 50 lines of pandas + matplotlib into **one line**.

```python
import brigli

report = brigli.analyze(df)
report.show()   # beautiful visual summary
print(report)   # clean text summary
```

---

## Install

```bash
pip install brigli
```

## Quick start

```python
import pandas as pd
import brigli

df = pd.read_csv("my_data.csv")

# Full EDA report — stats + visual plots
report = brigli.analyze(df)
report.show()

# Only want specific columns?
report = brigli.analyze(df, columns=["age", "salary", "city"])

# Just histograms
brigli.plot_distributions(df)

# Save to file instead of opening a window
brigli.plot_distributions(df, save_path="distributions.png")
```

## What you get from `analyze(df)`

For **numeric columns**: mean, std, min/max, quartiles, skewness, null count.

For **categorical columns**: unique count, top-N value frequency, null count.

For the **whole dataset**: shape, memory usage, total missing % .

## Why brigli?

- **One line** — `analyze(df)` does what normally takes 50+ lines.
- **ML-first** — metrics chosen for pre-training EDA, not generic stats.
- **Clean aesthetic** — plots you can drop straight into reports.
- **Production-safe** — strict input validation, no `eval()`, thread-safe.
- **Typed** — full Python type hints throughout.

## Requirements

- Python 3.9+
- pandas ≥ 1.5
- numpy ≥ 1.23
- matplotlib ≥ 3.6
- scipy ≥ 1.9

## License

MIT — see [LICENSE](LICENSE).
