Skip to content

Releases: Descanonge/filefinder

v1.3.1

28 Jan 14:48

Choose a tag to compare

  • Fix issues when using a datetime.date (instead of datetime.datetime)

Full Changelog: v1.3.0...v1.3.1

v1.3.0

14 Nov 20:49

Choose a tag to compare

  • Make "date" a special group name
  • Manage filters using custom objects/API
  • Add filters that act on group values
  • Make finding groups in pattern easily customizable
  • Clearer function to retrieve date from matches
  • Cache Match parsing, with clear status if unparsed or failed

Full Changelog: v1.2.0...v1.3.0

v1.2.0

06 Jun 12:13

Choose a tag to compare

  • Add method to retrieve group names
  • Add explicit Group.fixed property

v1.1.0

24 May 17:51
1d7f434

Choose a tag to compare

  • Make matches parsing lazy
  • Add filtering step: discard files using user-defined functions
  • Add filtering functions: by value range and by date range

v1.0.1

24 Apr 23:00

Choose a tag to compare

Major overhaul.

  • Requirement is now python >= 3.10
  • Renamed 'matchers' to 'groups' to be consistent with regex tools.
  • Group definition is now orderless (rgx, fmt, etc can be specified in any order).
    • :opt is now only a flag for specifying the group as optional
    • new :bool=true[:false] property. Note the order from old :opt is reversed. Options are strings (not regex).
  • Better API to retrieve values with Matches.get_values, Matches.get_value and Matches.__getitem__.
  • Make package typed.
  • Refactor format module.
    • Use sub-classes for different format types, avoiding frequent dispatching.
    • Add 'z' option to format (just allow it in format string, nothing else) (added in 3.11).
    • Add alignment/fill support for string formats.
  • Other renaming, streamlining, and minor bug fixes.
  • Better test suite relying heavily on hypothesis. Now tested on OS other than linux with github actions.

Full Changelog: changelog.md

  • Updated Pypi publishing workflow

v1.0.0

24 Apr 22:08

Choose a tag to compare

Major overhaul.

  • Requirement is now python >= 3.10
  • Renamed 'matchers' to 'groups' to be consistent with regex tools.
  • Group definition is now orderless (rgx, fmt, etc can be specified in any order).
    • :opt is now only a flag for specifying the group as optional
    • new :bool=true[:false] property. Note the order from old :opt is reversed. Options are strings (not regex).
  • Better API to retrieve values with Matches.get_values, Matches.get_value and Matches.__getitem__.
  • Make package typed.
  • Refactor format module.
    • Use sub-classes for different format types, avoiding frequent dispatching.
    • Add 'z' option to format (just allow it in format string, nothing else) (added in 3.11).
    • Add alignment/fill support for string formats.
  • Other renaming, streamlining, and minor bug fixes.
  • Better test suite relying heavily on hypothesis. Now tested on OS other than linux with github actions.

Full Changelog: changelog.md

v0.5.0

24 Aug 17:46

Choose a tag to compare

  • Make parts of the API private
  • Do not throw if no files are found in the filetree.

v0.4.2

13 Jan 16:39

Choose a tag to compare

  • Add methods to get absolute/relative paths

v0.4.1

25 Nov 15:03

Choose a tag to compare

  • Simple eE exponent regex and various reformating.
  • Better error message when no files are found.

v0.4.0

19 May 17:22

Choose a tag to compare

  • Add optional flag in matcher.
  • Fix 0 alignment in regex creation from format.
  • Add tests for Finder class.