{"id":23289,"library":"audeer","title":"audeer","description":"audeer is a collection of helpful Python functions for common tasks like file handling, string manipulation, and system operations. Current version: 2.4.0, released roughly monthly. It requires Python >=3.10.","status":"active","version":"2.4.0","language":"python","source_language":"en","source_url":"https://github.com/audeering/audeer","tags":["utilities","helpers","file operations","string manipulation"],"install":[{"cmd":"pip install audeer","lang":"bash","label":"PyPI install"}],"dependencies":[],"imports":[{"note":"The entire module is imported; functions are accessed as audeer.function_name().","symbol":"audeer","correct":"import audeer"}],"quickstart":{"code":"import audeer\n\n# Example: list files in a directory\nimport os\nprint(audeer.list_file_names('.'))\n\n# Example: make a safe filename\nprint(audeer.safe_filename('Hello World!'))\n\n# Example: create a temporary directory\ntmpdir = audeer.mkdtemp()\nprint(tmpdir)\n","lang":"python","description":"Basic usage of audeer functions."},"warnings":[{"fix":"Replace audeer.safe_path() with audeer.safe_filename().","message":"Function audeer.safe_path() is deprecated in v2.0.0 and removed in v2.4.0; use audeer.safe_filename() instead.","severity":"deprecated","affected_versions":">=2.0.0, <2.4.0"},{"fix":"Upgrade Python to 3.10 or later.","message":"Python 3.9 and lower are no longer supported; audeer 2.4.0 requires Python >=3.10.","severity":"breaking","affected_versions":">=2.4.0"},{"fix":"Pass relative=True to audeer.list_file_names() if you need relative paths.","message":"Function audeer.list_file_names() returns full paths by default; use relative=True to get relative paths.","severity":"gotcha","affected_versions":"all"},{"fix":"Use with statement or manually call audeer.rmdir() to clean up.","message":"Function audeer.mkdtemp() creates a temporary directory in the system temp location; ensure you clean it up using audeer.rmdir() when done.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"pip install audeer","cause":"The package is not installed.","error":"ModuleNotFoundError: No module named 'audeer'"},{"fix":"Use audeer.safe_filename() instead.","cause":"safe_path() was removed in audeer 2.4.0.","error":"AttributeError: module 'audeer' has no attribute 'safe_path'"},{"fix":"Upgrade Python to 3.10 or higher.","cause":"audeer 2.4.0 requires Python 3.10+.","error":"RuntimeError: Python version <3.10 is not supported by audeer 2.4.0"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}