This version patches a bug from v1.0.0. that broke FileContainer.concat()
.
- compare keys of two
FileContainer
s withpandas.Index.equals()
instead ofis
inFileContainer.concat()
(#145) - this fixes a bug where no two FileContainers that are not the same object could be concatenated together, see Github issue.
Version 1.0.0 renames the package to filefisher (from filefinder) and makes the first release to pypi. It includes some modifications of the FileContainer
class to be more user friendly, allows concatenating two FileContainers
and adds methods to find exactly one path or file. Defines and tests minimum supported versions of the dependencies and adds documentation on readthedocs.
-
Renamed from filefinder to filefisher (#131) and deprecated filefinder (#132)
-
Added documentation for readthedocs (#134) and extended the documentation with usage (#135) and installation instructions (#136), as well as extension of the api documentation (#141)
-
Added method to concatenate two FileContainers (#126)
-
Added two methods to find exactly one file or path (and raise an error otherwise):
FileFinder.find_single_file
andFileFinder.find_single_path
(#101). -
Raise an error if an unnamed placeholder (e.g.,
"{}"
) is passed (#110) -
The
FileFinder.find_files
argumentson_parse_error
and_allow_empty
can no longer be passed by position (#99). -
FileFinder
now raises an error if an invalid"{placeholder}"
is used (#99). -
Define and test the minimum supported versions of the dependencies (#125).
Package Old New numpy undefined 1.24 pandas undefined 2.0 parse undefined 1.19 -
Changes to
FileContainer
:- An empty
FileContainer
is returned instead of an empty list when no files/ paths are found (#114) - Renamed the
"filename"
column to"path"
and made it apd.Index
, thus removing this column from the underlyingDataFrame
(#113). - Added
meta
andpaths
properties toFileContainer
which allow to iterate over them (#121). - Added
items()
method toFileContainer
, which iterates overpath, meta
(#128). - Deprecated iterating over
FileContainer
, use.paths
,.meta
oritems()
instead (#128). - Deprecated
combine_by_key
, create apd.MultiIndex
instead (#115). - Added the number of paths to the repr (#116).
- Added capability to concat two
FileContainer
s (#126).
- An empty
-
Explicitly test on python 3.13 (#103).
-
Drop support for python 3.9 (#102).
New release that adds handling for parsing errors. It also drops python 3.7 and 3.8 support.
- Change
on_missing
option in thepriority_filter
from "error" to "raise". (#79) - Drop support for python 3.7 and 3.8 (#80)
- Allow passing scalar numbers to
find_paths
andfind_files
(#58). - Show duplicates for non-unique queries (#73)
- Add options on how to handle parsing errors (#75)
New release that allows to specify a format spec which allows parsing more complex file name structures. It also drops python 3.6 support and modernizes the build system.
- Allow passing format spec to the captured names to allow more precise name matching (#57).
- Add tests for the cmip functionality and fix issue with
filefinder.cmip.ensure_unique_grid
(#35). - Removed support for python 3.6.
- Explicitly test python 3.11.
- First version released based on the code developed for my IPCC AR6 analyses and including some additions (e.g.
priority_filter
, preferringkwargs
over keys passed via a dictionary, more complete tests).