Releases: victordomingos/Count-files
Releases · victordomingos/Count-files
v.1.4
Now available at PyPI.org!
- Updated folder structure and refactored as package.
- Updated preview for text files and added list of supported types.
- Added support for case sensitiveness.
- Added feedback while the computer is processing.
- Added total counting option.
- Added full support for handling hidden files and folders
- Tests for different operating systems.
- Updated main functions:
- with generators (
search_files()
); - with list comprehensions (
count_files_by_extension()
).
- with generators (
- Added docs and readme in English, Portuguese, Russian and Ukrainian.
- Added ReadTheDocs documentation.
- Added support for search/count files without extension (.) or all files(..).
- Optional display of file sizes.
- Updated ArgumentParser structure with groups and detailed help text.
- Added checks: path exists, supported type, hidden file/folder in path.
- Other minor changes and fixes.
v1.3
(Contributed by Natalia Bondarenko)
- Added .gitignore.
- Unit tests:
- dataset for tests, test cases for
ArgumentParser
,WordCounter
, some functions (positive testing); - added return statement in some functions for testing purposes.
- dataset for tests, test cases for
- Utils:
- transfer functions that do not belong to any class in utils (
get_file_extension
andhuman_mem_size
); - added decorator to intercept
KeyboardInterrupt
and common Exceptions; - class
WordCounter
moved to separate file.
- transfer functions that do not belong to any class in utils (
- To run the main program thread, the function
main_flow(args)
was created. - Added some type hints.
v1.2
(Special thanks to Natalia Bondarenko, Fred Cirera and Sridhar Ratnakumar)
- Option to search for files that have a certain extension (.html, .py, .css), listing their paths and sizes, and a summary in the end with some basic, human readable, file statistics.
- Option to display a short preview for each found file, when using the new search by file extension feature.
- Option to specify the number of characters to be displayed when using the new file preview feature.
- Reordered and added long version to CLI arguments.
v1.1
- Option to sort the table alphabetically (by default, the table will be sorted by frequency).
- Added the missing license file.
v1.0
Update README.md