Skip to main content

๐Ÿš€ MasterClean

PyPI

Python

License

Enterprise AI-powered Data Cleaning, Validation, Anomaly Detection & Analytics Toolkit for Python.

MasterClean automates:

  • data cleaning
  • preprocessing
  • validation
  • profiling
  • anomaly detection
  • AI insights
  • visualization
  • reporting
  • analytics

using powerful CLI commands and Python APIs.

Designed for:

  • Data Analysts
  • Data Scientists
  • ML Engineers
  • Researchers
  • Students
  • Automation Workflows

โœจ Features

๐Ÿงน Advanced Data Cleaning

  • Missing value handling
  • Duplicate row removal
  • Empty string cleanup
  • Whitespace cleanup
  • Column standardization
  • Datetime conversion
  • Smart categorical filling
  • Automatic preprocessing pipeline

โšก Datatype Optimization

  • Integer optimization
  • Float optimization
  • Boolean conversion
  • Category optimization
  • Datetime detection
  • Memory usage reduction

๐Ÿ›ก Advanced Validation Engine

  • Negative value detection
  • Invalid boolean detection
  • Email validation
  • Phone validation
  • Duplicate percentage warnings
  • Missing value percentage analysis
  • Mixed datatype detection

๐Ÿšจ AI-Powered Anomaly Detection

  • Z-score anomaly detection
  • Salary anomaly detection
  • Sales spike detection
  • Demographic anomaly detection
  • Interactive anomaly visualization
  • Enterprise anomaly summaries

๐Ÿง  AI Insights Engine

  • Dataset risk scoring
  • Dataset quality grading
  • Cardinality detection
  • Identifier column detection
  • Correlation intelligence
  • ML readiness recommendations
  • Automated contextual suggestions

๐Ÿ“Š Advanced Profiling

  • Dataset health score
  • Missing value summaries
  • Datatype analytics
  • Memory usage analysis
  • Numeric statistics
  • Categorical summaries
  • Dataset overview metrics

๐Ÿ“ˆ Interactive Visualization Engine

  • Plotly dashboards
  • Histograms
  • Boxplots
  • Pie charts
  • Correlation heatmaps
  • Missing value charts
  • Line charts
  • Interactive anomaly scatter plots

๐Ÿ“„ Reporting System

  • Unified HTML analytics dashboard
  • Validation summaries
  • AI insight cards
  • Risk overview cards
  • Interactive visualizations
  • Automated report generation

๐Ÿ–ฅ Professional CLI Toolkit

MasterClean supports multiple enterprise commands.


๐Ÿš€ Full Automated Pipeline

masterclean clean data.csv

Runs:

  • cleaning
  • optimization
  • anomaly detection
  • validation
  • profiling
  • visualization
  • AI analysis
  • reporting
  • exporting

๐Ÿ›ก Validation Only

masterclean validate data.csv

๐Ÿ“Š Dataset Profiling

masterclean profile data.csv

๐Ÿ“ˆ Dashboard Generation

masterclean dashboard data.csv

๐Ÿšจ Anomaly Detection

masterclean anomaly data.csv

๐Ÿ”– Show Version

masterclean version

๐Ÿ“ฆ Installation

Install from PyPI

pip install masterclean

โฌ† Upgrade to Latest Version

pip install --upgrade masterclean

๐Ÿ Python Usage

from masterclean import *

df, file_extension = read_file("data.csv")

df = clean_data(df)

df = optimize_dtypes(df)

warnings = validate_data(df)

profile = generate_profile(df)

charts = generate_charts(df)

ai_insights = generate_ai_insights(df)

anomalies = detect_anomalies(df)

generate_report(
    df=df,
    warnings=warnings,
    profile=profile,
    charts=charts,
    ai_insights=ai_insights,
    anomalies=anomalies
)

export_data(
    df,
    "cleaned_data",
    file_extension
)

๐Ÿ“‚ Supported File Formats

Format Supported
CSV โœ…
XLSX โœ…
XLS โœ…

๐Ÿ”„ Same-Format Export System

MasterClean automatically preserves output format.

Input Output
CSV cleaned_data.csv
XLSX cleaned_data.xlsx
XLS cleaned_data.xlsx

๐Ÿ“Š Example Validation Output

VALIDATION WARNINGS
========================================

โš  Negative values found in 'salary' (3 rows)

โš  Invalid email values found in 'email' (5 rows)

โš  High duplicate rows detected (14.2%)

โš  Mixed datatypes detected in 'age'

๐Ÿšจ Example Anomaly Output

ANOMALY DETECTION
========================================

๐Ÿง  Anomaly Summary:
3 anomalies in 'salary',
2 anomalies in 'sales'.

๐Ÿšจ 'salary' contains 3 anomalies.
๐Ÿ’ก Possible payroll anomaly detected.

๐Ÿšจ 'sales' contains 2 anomalies.
๐Ÿ’ก Abnormal sales spike detected.

๐Ÿ— Enterprise Architecture

Read
   โ†“
Clean
   โ†“
Optimize
   โ†“
Detect Anomalies
   โ†“
Validate
   โ†“
Profile
   โ†“
Generate AI Insights
   โ†“
Visualize
   โ†“
Generate Dashboard
   โ†“
Export

๐Ÿ“ธ Dashboard Screenshots

AI Dashboard

Add screenshot here:

screenshots/dashboard.png

Anomaly Detection

Add screenshot here:

screenshots/anomalies.png

Interactive Charts

Add screenshot here:

screenshots/charts.png

๐Ÿ“ Project Structure

masterclean/
โ”‚
โ”œโ”€โ”€ preprocessing/
โ”œโ”€โ”€ validation/
โ”œโ”€โ”€ profiling/
โ”œโ”€โ”€ visualization/
โ”œโ”€โ”€ ml/
โ”œโ”€โ”€ reports/
โ”œโ”€โ”€ cli.py
โ”œโ”€โ”€ __init__.py
โ”‚
tests/
โ”‚
README.md
pyproject.toml
requirements.txt
LICENSE

๐Ÿงช Testing

Run tests using:

python -m pytest

๐Ÿ”„ CI/CD

MasterClean uses GitHub Actions for:

  • automated testing
  • dependency validation
  • continuous integration

๐Ÿ›ฃ Roadmap

Future improvements planned:

  • Streamlit dashboard
  • FastAPI integration
  • AutoML recommendations
  • Schema validation engine
  • Large dataset optimization
  • Cloud deployment support
  • Plugin architecture
  • Real-time analytics dashboards

๐Ÿค Contributing

Contributions are welcome.

You can:

  • report bugs
  • suggest features
  • improve documentation
  • submit pull requests

๐Ÿ“„ License

MIT License


๐Ÿ‘จโ€๐Ÿ’ป Author

Mohamed Faisal Maraicar N

GitHub:

https://github.com/MohamedFaisal-11/masterclean

Download files

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

Source Distribution

masterclean-2.0.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

masterclean-2.0.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file masterclean-2.0.0.tar.gz.

File metadata

  • Download URL: masterclean-2.0.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for masterclean-2.0.0.tar.gz
Algorithm Hash digest
SHA256 c4241aca348be3d2e3f70db28607fc7e6e0990438c81d0ca19508715ef522fd1
MD5 80ecb7529f4e324f683678809da6022e
BLAKE2b-256 0c381cef2a625d21e4d80db465b6832c774d41ab1f5c2edfc538f60a0e055f3c

See more details on using hashes here.

File details

Details for the file masterclean-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: masterclean-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for masterclean-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbcb2b132e0028e2372147b033317a2de7dcf1d1d031de0a1041b47994d07fb0
MD5 48fdece08a77120588d7386d4c3257a5
BLAKE2b-256 a0d32d9d40ff55f4cd3930fdacb9a4fe758c7b900bbb185dab06940c4f8798aa

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 Sentry Error logging StatusPage Status page