Fast, beautiful EDA and ML statistics for Python developers
Project description
brigli
Fast, beautiful EDA and ML statistics for Python developers.
Turn 50 lines of pandas + matplotlib into one line.
import brigli
report = brigli.analyze(df)
report.show() # beautiful visual summary
print(report) # clean text summary
Install
pip install brigli
Quick start
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 brigli-0.1.0.tar.gz.
File metadata
- Download URL: brigli-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.10.11 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c5039d95ca765852ee0073aa7353c8f55a133eaf098a5f4f8df8f91faa64e8
|
|
| MD5 |
9a6a90b6151d2f8b139e582d581de476
|
|
| BLAKE2b-256 |
124ac0cd160e6d0e6e3a67187f08a39b3377d8782f30fdc40b5efe5ce8f10251
|
File details
Details for the file brigli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: brigli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.10.11 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d85a447021ad86c55adbee0c4fd37c7c1f877a277511b62b3c2482313bf96039
|
|
| MD5 |
b2df4ab481ee3e0c17c18884148dc66a
|
|
| BLAKE2b-256 |
6c04e9a0e108fd5e9f423a3395c03040714e6ffe93c80af516ae446c3da78580
|