Skip to main content

Fast, beautiful EDA and ML statistics for Python developers

Project description

brigli

Fast, beautiful EDA and ML statistics for Python developers.

PyPI version Python CI License: MIT

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 lineanalyze(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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brigli-0.1.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brigli-0.1.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

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

Hashes for brigli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 43c5039d95ca765852ee0073aa7353c8f55a133eaf098a5f4f8df8f91faa64e8
MD5 9a6a90b6151d2f8b139e582d581de476
BLAKE2b-256 124ac0cd160e6d0e6e3a67187f08a39b3377d8782f30fdc40b5efe5ce8f10251

See more details on using hashes here.

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

Hashes for brigli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d85a447021ad86c55adbee0c4fd37c7c1f877a277511b62b3c2482313bf96039
MD5 b2df4ab481ee3e0c17c18884148dc66a
BLAKE2b-256 6c04e9a0e108fd5e9f423a3395c03040714e6ffe93c80af516ae446c3da78580

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page