A production-ready, cross-platform CLI/TUI tool built with Python that provides comprehensive network diagnostics and WiFi quality measurement. Perfect for network administrators, developers, and IT professionals who need reliable network assessment tools.
๐ง Tech Stack:
โข Python 3.10+ with modern async/await patterns
โข Typer for beautiful CLI interfaces
โข Textual for rich TUI dashboards
โข Pydantic for data validation and models
โข Rich for stunning terminal output
โข Plotly + Jinja2 for interactive HTML reports
โก Key Features:
โข ๐ก Real-time WiFi monitoring (RSSI, signal quality, bitrate)
โข ๐ Active network testing (ping, jitter, packet loss analysis)
โข โก Throughput measurement (iperf3 + HTTP fallback)
โข ๐ Interactive TUI dashboard with live charts
โข ๐ Multiple output formats (terminal, JSON, HTML reports)
โข ๐ฅ๏ธ Cross-platform support (Linux, macOS, Windows)
โข ๐ฏ System detection and graceful fallbacks
โข ๐ Concurrent operations with asyncio
๐ฎ Quick Start:
pip install wifi-profiler
wifi-profiler quick
wifi-profiler survey --html report.html
wifi-profiler live --duration 60
๐ Example Output:
Interface: wlp3s0
SSID: MyNetwork
RSSI: -52 dBm
Ping to 8.8.8.8:
Packets: 10/10 received
Packet loss: 0.0%
RTT: min=13.5ms, avg=14.9ms, max=17.4ms
Jitter: 1.4ms
Quality: excellent
Download Test:
Speed: 62.09 Mbps
Duration: 10.2s
Method: iperf3
๐๏ธ Architecture Highlights:
โข Modular design with clear separation of concerns
โข Comprehensive error handling and fallback mechanisms
โข Type-safe data models with Pydantic
โข Async-first approach for better performance
โข Professional packaging with pyproject.toml
โข Complete test suite with pytest
๐ฏ Use Cases:
โข Network infrastructure assessment
โข Performance baseline establishment
โข Troubleshooting connectivity issues
โข SLA compliance verification
โข Development environment validation
โข CI/CD pipeline integration
๐ Links:
โข GitHub: https://github.com/Sherin-SEF-AI/wifi-profiler
โข PyPI: https://pypi.org/project/wifi-profiler/
โข Documentation: https://github.com/Sherin-SEF-AI/wifi-profiler#readme
๐ก What I Learned:
Building this project taught me the power of modern Python tooling. The combination of Typer, Textual, and Pydantic creates a robust foundation for CLI/TUI applications. Async programming with asyncio enables concurrent operations that significantly improve user experience.
๐ค Contributions Welcome:
The project is MIT licensed and open for contributions! Whether you're a network engineer, Python developer, or just interested in networking tools, your feedback and contributions are welcome.
๐ Next Steps:
โข Prometheus metrics integration
โข REST API for remote monitoring
โข Mobile companion app
โข Cloud storage integration
โข Plugin system for custom tests
This project demonstrates how modern Python can create professional-grade network diagnostics tools that rival commercial solutions. The codebase is clean, well-documented, and production-ready.
Top comments (0)