Releases: Descanonge/filefinder
Releases · Descanonge/filefinder
v1.3.1
- Fix issues when using a datetime.date (instead of datetime.datetime)
Full Changelog: v1.3.0...v1.3.1
v1.3.0
- 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
- Add method to retrieve group names
- Add explicit Group.fixed property
v1.1.0
- 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
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).
:optis now only a flag for specifying the group as optional- new
:bool=true[:false]property. Note the order from old:optis reversed. Options are strings (not regex).
- Better API to retrieve values with
Matches.get_values,Matches.get_valueandMatches.__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
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).
:optis now only a flag for specifying the group as optional- new
:bool=true[:false]property. Note the order from old:optis reversed. Options are strings (not regex).
- Better API to retrieve values with
Matches.get_values,Matches.get_valueandMatches.__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
- Make parts of the API private
- Do not throw if no files are found in the filetree.
v0.4.2
- Add methods to get absolute/relative paths
v0.4.1
- Simple eE exponent regex and various reformating.
- Better error message when no files are found.
v0.4.0
- Add optional flag in matcher.
- Fix 0 alignment in regex creation from format.
- Add tests for Finder class.