Hypersonic — EDA Notebook Generator
Build a complete Exploratory Data Analysis notebook in minutes.
Data scientists and ML folks are often evaluated on their EDA chops—but wiring up the same scaffolding each time is repetitive. Hypersonic lets you quick-build a clean, structured Jupyter notebook so you can spend your time on insights, not boilerplate.
- ⚡ Fast: point it at CSV/Parquet/SQLite and get an EDA notebook.
- 🧭 Structured: title/overview, reproducible loading, helper plots, and per-feature sections.
- 🧹 Practical: includes basic string normalization and “check/correct category typos” prompts.
- 🧰 Flexible: use it as a CLI or import as a Python library.
Name inspiration: hypersonic jets—because your EDA should take off quickly.
Installation
Python 3.9+ recommended.
From source (this repo)
# from the repo root
pip install -e .
This installs the console command hy and the hypersonic Python package (distribution name: hypersonic-eda).
Quick Start (CLI)
Basic (CSV)
hy --input data/my_data.csv --output eda.ipynb
With a target column
hy --input data/my_data.csv --target "label" --output eda_label.ipynb
Parquet
hy --input data/my_data.parquet --output eda_parquet.ipynb
SQLite (.db), first table auto-detected
hy --input data/my_database.db --output eda_db.ipynb
SQLite with a specific table
hy --input data/my_database.db --table events --output eda_events.ipynb
Remote files (HTTP/HTTPS)
hy --input "https://example.com/data.csv" --output eda_remote.ipynb
Command-line Options
hy --help
--input(required): CSV/Parquet/SQLite .db (path or URL)--table(optional): Table name if input is SQLite--target(optional): Target column name (excluded from feature loops)--max-cat(default: 30): Max number of categorical features to include--max-num(default: 30): Max number of numeric features to include--output(default: hypersonic_eda.ipynb): Output notebook path
What the Generated Notebook Contains
-
Title & Overview
Source info (path/URL, table, target) and timestamp. -
Data Loading (reproducible)
Handles CSV/Parquet/SQLite; downloads remote files to a temp path for SQLite. -
Dataset Snapshot
A compactdescribe(include="all")view (transposed) of the dataframe. -
Category Text Hygiene
A cell that normalizes string columns (lowercase, trims whitespace, removes stray spaces/underscores/periods).
A Markdown reminder to “carefully check and correct category typos.”
Per-categorical-feature cells that print unique values and counts to help you spot issues. -
Helper Functions
Simple plotting utilities (plot_categorical,plot_numeric) and tabulation helpers. -
Per-Feature Sections
For each categorical feature: a plot cell and a value-counts table.
For each numeric feature: a histogram and a summary-stats table (with IQR fences). -
Notes
Pointers and next-steps you can extend.
Tip: For very long-tail categoricals, consider grouping infrequent classes into “Other” right in the notebook.
Python API
Use Hypersonic programmatically if you prefer. If you want to trigger the CLI from Python:
A) Use subprocess (recommended)
import subprocess
subprocess.run(["hy", "--input", "data/my_data.csv", "--output", "eda.ipynb"], check=True)
B) Or set sys.argv then call main()
import sys
from hypersonic.hy import main
sys.argv = ["hy", "--input", "data/my_data.csv", "--output", "eda.ipynb"]
main()
Examples
Create a notebook focused on a target, with more features:
hy --input data/train.csv --target Outcome --max-cat 50 --max-num 50 --output eda_outcome.ipynb
Generate EDA for the first table in a remote SQLite DB:
hy --input "https://host/path/data.db" --output eda_db.ipynb
Why this design?
- One file in, one notebook out. Clear contract, low ceremony.
- Reproducibility first. The “Data Loading” cell records exactly how the data was pulled.
- No heavy dependencies. Pure
pandas/matplotlib/nbformat(+requestsfor remote files).
Limitations & Notes
- Extremely wide datasets (thousands of columns) will generate large notebooks—use
--max-cat/--max-numto cap feature counts. - The default string cleaning is intentionally simple; adapt it in the notebook if your domain needs different rules.
- Plots are basic on purpose—tune them to your style post-generation.
- Do not use quotes in Target names
- It does primitive typographic corrctions only in catagorical Text.
Roadmap
- Subcommands for different flows (e.g.,
hypersonic eda target ...) - Optional profiling (timings, memory)
- “Other” binning for long-tail categories
- Skew detection and auto-transform hints
Contributing
Issues and PRs welcome!
Please open an issue with a small sample dataset and the expected behavior.
License
MIT © Krish Ambady
📌 Why Hypersonic-EDA?
Most “auto-EDA” tools today (like YData-Profiling, Sweetviz, AutoViz, DataPrep.EDA) focus on generating static HTML reports or inside-notebook widgets. Those are useful for quick looks—but they don’t give you an editable, reproducible notebook you can extend with your own code.
Hypersonic-EDA is different: it’s a CLI tool that generates a structured Jupyter Notebook (.ipynb) with clear sections for loading, statistics, helper functions, and per-feature plots/tables. This means you don’t just view a report—you start with a clean, living notebook that you can immediately modify, annotate, and share.
Key Differentiators
- Notebook output, not HTML: Produces an editable
.ipynbscaffold with code + markdown. - Source flexibility: Works with CSV, Parquet, and SQLite (local or HTTP URL, with auto-table detection).
- Lightweight & CLI-friendly: Just run
hy --input data.csv --output eda.ipynb. - Built-in data hygiene: Normalizes text columns and prompts you to check/correct categorical typos.
- Balanced defaults: Per-feature plots (categorical + numeric), summary stats, outlier counts, and a notes section ready for domain context.
Comparison
🔍 Comparison with Other Auto-EDA Tools
| Feature / Tool | Hypersonic-EDA | YData Profiling | Sweetviz | AutoViz | DataPrep.EDA |
|---|---|---|---|---|---|
| Output format | Jupyter Notebook (.ipynb) scaffold |
Static HTML/JSON report | Static HTML dashboard | Inline plots / notebook widget | Inline interactive plots |
| CLI usage | ✅ (hy --input …) |
❌ | ⚠️ (only via wrapper, HTML output) | ❌ | ❌ |
| Editable code | ✅ (full notebook you can extend) | ❌ | ❌ | Partial | Partial |
| Input sources | CSV, Parquet, SQLite (local/URL) | CSV, Parquet, DF | CSV, DF | CSV, DF | CSV, Parquet, DF |
| Typo/cleaning guidance | ✅ text normalization + typo-check prompts | ❌ | ❌ | ❌ | ❌ |
| Target column aware | ✅ | ✅ | ✅ | ✅ | ✅ |
| Dependencies | Lightweight (pandas, matplotlib, nbformat, requests) |
Heavier (pandas, matplotlib, visions, phik, …) |
Moderate | Moderate | Moderate |
Metadata
Release files for hypersonic-eda 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hypersonic_eda-0.1.3.tar.gz | 16.9 kB | Without provenance | Details for hypersonic_eda-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hypersonic_eda-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for hypersonic_eda-0.1.3-py3-none-any.whl |
Total release size: 31.0 kB
Release files / hypersonic_eda-0.1.3.tar.gz
| Download URL | hypersonic_eda-0.1.3.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8753f99130754e09a922235e8e5ad11cdbe44df64c67769028f9ba89e07a050a
|
|
BLAKE2b-256 checksum How to use checksums |
1ace4b54340f7636db29f0a7637a166119dce89c9bbf6d94df4966a9908a3332
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Release files / hypersonic_eda-0.1.3-py3-none-any.whl
| Download URL | hypersonic_eda-0.1.3-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dedb20173bc23d68decf21e7c330948c074f29ec187c1fcbaa192e5eafa13ae0
|
|
BLAKE2b-256 checksum How to use checksums |
48682fbb80f5a1403c53f2bf87d3a9f27ab7dfb266dd535b08ffdad45df8891e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Security for hypersonic-eda 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.