Skip to content

Releases: victordomingos/Count-files

v.1.4

15 Mar 19:30
Compare
Choose a tag to compare

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()).
  • 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

07 May 15:49
Compare
Choose a tag to compare

(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.
  • Utils:
    • transfer functions that do not belong to any class in utils (get_file_extension and human_mem_size);
    • added decorator to intercept KeyboardInterrupt and common Exceptions;
    • class WordCounter moved to separate file.
  • To run the main program thread, the function main_flow(args) was created.
  • Added some type hints.

v1.2

04 May 18:11
Compare
Choose a tag to compare

(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

03 May 14:49
Compare
Choose a tag to compare
  • Option to sort the table alphabetically (by default, the table will be sorted by frequency).
  • Added the missing license file.

v1.0

30 Apr 18:20
3d1348f
Compare
Choose a tag to compare
Update README.md