Releases: audeering/audeer
Releases · audeering/audeer
Release list
Release v2.4.0
- Added:
audeer.load_json() - Added:
audeer.save_json()
Release v2.3.1
- Fixed: ensure
audeer.run_tasks()stops immediately
when using multiple workers
and one process fails or is interrupted by the user
Release v2.3.0
- Added:
audeer.suppress_stdout() - Added: support for python 3.14
- Removed: support for Python 3.9
Release v2.2.2
- Fixed:
audeer.install_package()
now supportsuvmanaged virtual environments - Fixed:
audeer.freeze_requirements()
now supportsuvmanaged virtual environments
Release v2.2.1
- Added: support for Python 3.13
- Added: support for
tar,
tar.bz2,
tar.xz
archives in
audeer.create_archive(),
audeer.extract_archive(),
andaudeer.extract_archives() - Fixed: avoid deprecation warnings
in Python>=3.12
by using the"tar"filter
when extracting tar archives - Removed: support for Python 3.8
Release v2.2.0
- Added:
audeer.script_dir()
which returns the directory
of the file where it was called,
or the current working directory
when called in an interactive session
Release v2.1.1
- Fixed: make estimation of remaining time
inaudeer.progress_bar()
less erratic
Release v2.1.0
- Added:
audeer.unique(),
which returns unique values
in the order they appear in a sequence - Added:
maximum_refresh_timeargument
toaudeer.progress_bar()
andaudeer.run_tasks(),
which can be used
to force an update interval
of the progress bar - Fixed: documentation of return value
ofaudeer.run_tasks()
Release v2.0.0
- Added:
follow_symlinkkeyword argument
toaudeer.path()
with default valueFalse - Added:
follow_symlinkkeyword argument
toaudeer.rmdir()
with default valueTrue - Changed:
audeer.path()does no longer
usesos.path.realpath(),
butos.path.abspath().
This means it does no longer convert symlinks
to the real path,
but returns the path to the symlink.
This provides a speed up ofaudeer.path()
up to 6x
as it no longer requires a disk operation.
The old behavior ofaudeer.path()
can be achieved by calling
audeer.path(..., follow_symlink=True).
The output of the following functions
is also affected by this change
if a symlink is part of their input path:
audeer.common_directory(),
audeer.download_url(),
audeer.list_dir_names(),
audeer.list_file_names(),
audeer.mkdir(),
audeer.touch() - Changed: the
filesargument ofaudeer.create_archive()
can no longer include symbolic links
that are located outside ofroot - Fixed:
audeer.basename_wo_ext(),
audeer.file_extension(),
andaudeer.replace_file_extension()
are no longer affected by existing files and symlinks,
but rely only on the provided input string
Release v1.21.0
- Added:
audeer.move()
which can move files and folders
and should be used instead ofaudeer.move_file() - Added:
*pathsargument to
audeer.mkdir(),
audeer.rmdir(),
andaudeer.touch().
Instead of writingaudeer.mkdir(os.path.join('a', 'b')),
you can now writeaudeer.mkdir('a', 'b')