Releases: codeperfectplus/extliner
Releases · codeperfectplus/extliner
Version 0.0.7 Release
🆕 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
version 0.0.2
📝 Changelog – Release on May 24, 2025
🚀 Features
-
Initial implementation of
extliner
package
Introduced core functionality with:- CLI support for line counting
- Folder ignoring support
- Output formatting options (plain text, CSV, Markdown)
-
Export Enhancements
- Added CSV and Markdown export methods to
LineCounter
class for flexible report generation.
- Added CSV and Markdown export methods to
-
CLI Improvements
- Enhanced CLI to support folder ignoring and output format selection.
- Improved error messages for smoother user experience.
📦 Packaging & Publishing
-
Publishing Workflow
- Created and updated
python-publish.yml
GitHub Actions workflow for automated PyPI releases. ✅ Verified
- Created and updated
-
Setup Cleanup
- Removed redundant license classifier from
setup.py
. - Added error handling for loading
README.md
andrequirements.txt
.
- Removed redundant license classifier from
🧪 Testing
-
Unit Tests
- Added unit tests for the core
LineCounter
functionality to ensure stability and accuracy.
- Added unit tests for the core
📚 Documentation
-
README Overhaul
- Simplified and reorganized content by removing introductory text.
- Enhanced instructions and usage examples.
-
- Integrated with ReadTheDocs to provide hosted documentation. 📖
Initial version release
v0.0.1 Update: :book: readthedocs documentation added