Local-first data cleaning for CSV files. No cloud uploads, complete privacy.
Project description
DataShaper CLI
Local-first data cleaning for CSV files. No cloud uploads, complete privacy.
🚀 Quick Start
Installation
pip install datashaper
Basic Usage
# Clean a CSV file
datashaper clean mydata.csv
# Output: mydata_cleaned.csv + quality report
✨ Features
- 🔒 100% Local Processing - Your data never leaves your device
- ⚡ Dual-Engine Architecture - Polars (fast) + DuckDB (stable)
- 🧹 Auto-Detection - Finds duplicates, nulls, formatting issues
- 📊 Quality Scoring - Get a data quality score (0-100%)
- 🎯 Smart Routing - Automatically selects best engine for your file
- 💼 Enterprise Ready - Hardware-bound licensing, Team features
📋 Commands
1. Clean Data
datashaper clean input.csv
What it does:
- Removes duplicate rows
- Handles missing values
- Trims whitespace
- Validates data types
- Outputs:
input_cleaned.csv
Example Output:
🔑 License: PRO tier
🧹 Cleaning: customer_data.csv
✅ Cleaned data saved to: customer_data_cleaned.csv
📊 Summary:
• Issues found: 847
• Fixes applied: 847
• Quality score: 94.2%
• Engine used: Polars
2. Create Bundle (Pro+)
datashaper bundle input.csv -o output.zip
Creates ZIP with:
cleaned.csv- Cleaned datareport.html- Detailed quality reportschema.json- Data schema
3. Activate License
datashaper activate DS-ABCD-1234-WXYZ-5678
Features:
- Binds to your hardware (prevents sharing)
- Works offline after activation
- Stored in
~/.datashaper/license.json
4. Check Status
datashaper status
Shows:
- Current tier (FREE, PRO, TEAM, ENTERPRISE)
- File size limit
- Feature availability
- License expiry (if applicable)
🎯 Tier Comparison
| Feature | Free | Pro | Team | Enterprise |
|---|---|---|---|---|
| File Size | 25 MB | 1 GB | 5 GB | Unlimited* |
| Engine | Polars | Both | Both | Both + Chunked |
| ZIP Export | ❌ | ✅ | ✅ | ✅ |
| HTML Reports | ❌ | ✅ | ✅ | ✅ |
| Team Sharing | ❌ | ❌ | ✅ (10 seats) | ✅ (Custom) |
| Priority Support | ❌ | ❌ | ✅ | ✅ |
| Offline Activation | ✅ | ✅ | ✅ | ✅ |
*Unlimited with recommended hardware (see HARDWARE.md)
🏗️ Architecture
CrashGuard Engine
Intelligent engine selection:
File < 1GB → Polars (fast, in-memory)
File > 1GB → DuckDB (stable, out-of-core)
Polars OOM → Auto-retry with DuckDB
Why two engines?
- Polars: 10x faster for typical files
- DuckDB: Handles files larger than RAM
- CrashGuard: Never crashes, always falls back
🔒 Privacy & Security
Your Data Never Leaves Your Device
Zero cloud uploads:
- All processing happens locally
- No servers see your data
- Works completely offline (after activation)
Network requests (exactly 3):
- License validation (license key only)
- Auto-update check (version number only)
- Team sync (Team tier only, shared rules)
Read more:
- SECURITY.md - Complete security overview
- PRIVACY.md - Privacy policy
- NETWORK_AUDIT.md - Complete network transparency
💻 Desktop App
Cross-platform desktop app available:
- Windows (
.exe) - macOS (
.dmg) - Linux (
.AppImage)
Features:
- Drag-and-drop file upload
- Real-time progress
- Visual results dashboard
- Team collaboration (Team tier)
- Auto-updates
📦 Enterprise Features
Team Tier
Collaboration features:
- 10 user seats
- Shared cleaning rules
- Team activity audit logs
- Centralized billing
Enterprise Tier
For large organizations:
- Unlimited seats
- Custom file size limits
- On-premises deployment
- SSO integration
- Dedicated support
- SLA guarantees
🛠️ Development
From Source
git clone https://github.com/yourusername/datashaper.git
cd datashaper
pip install -e .
Run Tests
pytest tests/
Build Desktop App
cd desktop
npm install
npm run tauri:build
📚 Documentation
🤝 Support
Community
Enterprise
- Email: enterprise@datashaper.ai
- Support: support@datashaper.ai
- Security: security@datashaper.ai
📄 License
MIT License - see LICENSE for details
Commercial licensing available for Enterprise tier.
🚀 Getting Started
- Install:
pip install datashaper - Activate:
datashaper activate YOUR-LICENSE-KEY - Clean:
datashaper clean yourfile.csv
That's it! Your data is cleaned locally, privately, securely.
Made with ❤️ for data professionals who value privacy.
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 datashaper_ai-0.1.0.tar.gz.
File metadata
- Download URL: datashaper_ai-0.1.0.tar.gz
- Upload date:
- Size: 178.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e400189cc2710b0c3f832535b9e46507d4222978ff63ee340b22eca6bb6eb8b3
|
|
| MD5 |
6470983054d77efad4e36209cc3da0be
|
|
| BLAKE2b-256 |
997dd4cf78a787339a13cef6e0687c72777c156b5a0a791dad85f2a9c64cf208
|
File details
Details for the file datashaper_ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: datashaper_ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
378bfff59040dc7ab3e07884179fac99ab802334978270df1975b15a416eff5c
|
|
| MD5 |
2cb6eeb06edeb3f84b30edf074469dea
|
|
| BLAKE2b-256 |
27d2c9bc9ace9513a61c11ea5997a4b097c4c069bf5694ea457cd125fdfe0f61
|