SUCLEPY — Smart Universal Cleaner Library for Python
Project description
🧹 SUCLEPY — Smart Universal Cleaner Library for Python
✨ Overview
SUCLEPY is your one-stop Python library for smart data cleaning!
Clean data, fill missing values, remove duplicates, validate emails, normalize text, parse dates, and generate beautiful cleaning reports — all in seconds.
🚀 Features
- 🧹 Automatic Data Cleaning
- 🔁 Duplicate Detection & Removal
- 💧 Missing Value Handling
- 📧 Email Validation
- 📅 Date Parsing & Standardization
- ✍️ Text Normalization
- 📊 Detailed Cleaning Report
- 💾 Export Cleaned Data to CSV
⚙️ Installation
pip install suclepy
🧑💻 Usage Example
import suclepy as sp
import pandas as pd
# Create a dirty dataset
df = pd.DataFrame({
"Name": ["Subodh", "Amit", "Amit", "Riya", None],
"Age": [21, None, 22, 20, 21],
"Join_Date": ["2024/05/10", "10-05-2024", None, "2024-05-11", "May 12, 2024"],
"Email": ["subodh@", "amit@example.com", "amit@example.com", None, "riya@gmail.com"]
})
# Clean the dataset automatically
report = sp.auto_clean(df)
# View summary
print(report.summary())
# View cleaned data
print(report.head())
# Save cleaned data
report.to_csv("cleaned_dataset.csv")
📝 Cleaning Report Example
SUCLEPY CLEANING REPORT
Total Rows (Before): 5
Rows After Cleaning: 5
Duplicates Removed: 1
Missing Values Filled: 1
Invalid Emails Found: 1
Standardized Columns: 4
Status: SUCCESS ✅
📁 Features in Detail
| Feature | Description |
|---|---|
| Automatic Cleaning | Cleans the dataset intelligently with default strategies. |
| Duplicate Removal | Removes repeated rows to avoid redundancy. |
| Missing Value Handling | Fills missing numeric data with mean/median, categorical with mode, or drops rows. |
| Email Validation | Detects invalid email addresses. |
| Date Parsing | Converts dates to a standard YYYY-MM-DD format. |
| Text Normalization | Capitalizes and strips unnecessary spaces. |
| CSV Export | Saves your cleaned data easily. |
| Cleaning Report | Generates a clear and printable cleaning report. |
💡 Why SUCLEPY?
- 🧠 Friendly and easy-to-use API
- ⚡ Minimal coding required to clean messy data
- 📂 Works with any CSV or pandas DataFrame
- 📈 Generates actionable insights and visual reports
🔧 Configuration
You can configure global cleaning rules easily:
import suclepy as sp
sp.config({
"fill_missing_strategy": "mean",
"validate_email": True,
"drop_duplicates": True
})
📚 Documentation & Resources
- GitHub Repository: https://github.com/subodhkryadav
- LinkedIn: Subodh Kumar Yadav
📝 License
This project is licensed under the MIT 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 suclepy-1.0.0.tar.gz.
File metadata
- Download URL: suclepy-1.0.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2053fa6172cfb858b233c8247a6377c13ede3e4a2e743fd4c79f02deef4b690e
|
|
| MD5 |
db4263f38b9d50600845bfa6617c0442
|
|
| BLAKE2b-256 |
ed8b4812985e3c68f566bb3f0e513c87ccfa8d1ae8c10f22e23634caa034a86b
|
File details
Details for the file suclepy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: suclepy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dbbd49a9b36778c787f0ae71994ac6c873eae4c8d350f43edbee7e0714ae280
|
|
| MD5 |
72ea596a2b22382240943e34f65b49b9
|
|
| BLAKE2b-256 |
3aa1ec5166a1e7b9f7c349a7f628a798bc4723ee21da990bfe6f9f19f495ec6d
|