🆕 What's New in Extliner v0.0.7
Release Date: 2025-05-30
🚀 Highlights
-
Massive Performance Boost
Introduced concurrent file processing using Python’sProcessPoolExecutor
. File scanning is now much faster — ideal for large directories. -
Smarter File Detection
Enhanced detection of text-based files using an extended set ofTEXT_LIKE_MIME_TYPES
. This means better accuracy in counting lines across diverse file formats like.json
,.xml
,.php
,.sh
,.md
, etc. -
Cleaner Output
Results now include a 'Total' summary, showing combined stats for all extensions.
🛠 Enhancements
- Replaced
os.walk()
withos.scandir()
in directory traversal logic for better I/O efficiency. - Added optional
--progress
toggle for a live progress bar viatqdm
. - Added
max_workers
parameter to control parallelism.
🧪 Code Cleanup
- Refactored
main.py
for improved readability and modularity. - Simplified test suite by removing outdated and redundant tests.
- Updated
requirements.txt
to includetqdm
.
📦 Installation
pip install --upgrade extliner
Full Changelog: v0.0.2...v0.0.7