A universal spec validator for electronics via CLI or Streamlit UI.
Project description
📦 spec-checker
A Universal Spec Validator for validating laptops, mobiles, and other electronics from CSV/JSON using CLI or Web UI (Streamlit).
🚀 Features
- ✅ Validate structured specs using pre-defined or custom rules
- ✅ Supports both CSV and JSON formats
- ✅ Built-in Streamlit Web UI for easy visual validation
- ✅ Easy to install via
pip - ✅ Extendable to any product type: laptop, mobile, monitor, etc.
🖥️ Installation
pip install spec-checker
🔧 Usage
CLI
bashspec-checker path/to/data.csv --type laptop
Optional flags:
--config Custom rules JSON path
--report Output HTML report
Examples:
bash# Validate laptops and generate HTML report
spec-checker data/laptops.csv --type laptop --report out.html
# Launch web interface
spec-checker --web
🧪 Supported Products
💻 Laptops
📱 Mobiles
🖥️ Monitors
🛠️ Developer Setup
bashgit clone https://github.com/yuvaraj-dev/spec-checker
cd spec-checker
pip install -e .
📁 Project Structure
spec_checker/
├── __init__.py
├── cli.py
├── validator.py
├── rules/
└── web.py
🤝 Contributing
PRs are welcome! Please open an issue first for major changes.
💬 Feedback & Suggestions
We'd love to hear from you! Help us improve spec-checker by sharing your suggestions, reporting bugs, or proposing new features.
📬 Submit your feedback here:
👉 https://forms.cloud.microsoft/r/LucPyefjm8
The form is quick to fill out — just a few questions to help us make this tool better for developers like you.
📄 License
This project is licensed under the MIT License.
Authored by Yuvaraj S S
LinkedIn - https://www.linkedin.com/in/yuvaraj24/
Github - https://github.com/Yuvi369
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
specaudit-0.1.1.tar.gz
(7.1 kB
view details)
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 specaudit-0.1.1.tar.gz.
File metadata
- Download URL: specaudit-0.1.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f4203c05f3746a08cccd4a02239c688aa065e8695a8e6f298e2db765d4968a1
|
|
| MD5 |
70694dd5a009c990065cd78b5ace547c
|
|
| BLAKE2b-256 |
e2fbe03793ff0cac2687ffe3c9321278015b5df238de73de139c287e350ff7d6
|
File details
Details for the file specaudit-0.1.1-py3-none-any.whl.
File metadata
- Download URL: specaudit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdbf04b536e2b514935a299409a91c9e1579958f5d606709d43bc1e4660f562e
|
|
| MD5 |
38514b7a3fd8aa45540c06908e620627
|
|
| BLAKE2b-256 |
448c1f3539da26c2dfd73546586c3d62685e673911e365fbb7a9f5ff9822c8c4
|