{"id":23764,"library":"fpyutils","title":"fpyutils","description":"A collection of useful non-standard Python functions that are simple to use, highly readable but not efficient. Current version is 4.0.1, which drops Python 2 support and requires Python >=3.7 <4. The library is in active development with a recent release in 2024.","status":"active","version":"4.0.1","language":"python","source_language":"en","source_url":"https://github.com/frnmst/fpyutils","tags":["utilities","filesystem","text","path"],"install":[{"cmd":"pip install fpyutils","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"In version 4.x, many functions moved to the top-level package; importing from submodules may break.","wrong":"from fpyutils.path import get_path_tuple_from_relative_file","symbol":"get_path_tuple_from_relative_file","correct":"from fpyutils import get_path_tuple_from_relative_file"},{"note":"In version 4.x, the file module was reorganized; use top-level import.","wrong":"from fpyutils.file import get_file_list","symbol":"get_file_list","correct":"from fpyutils import get_file_list"}],"quickstart":{"code":"from fpyutils import get_file_list\n\nfiles = get_file_list('.', extension_filter='.txt')\nprint(files)","lang":"python","description":"Basic usage: list all .txt files in the current directory."},"warnings":[{"fix":"Use 'from fpyutils import function_name' instead.","message":"Functions were moved to top-level package in version 4.0.0. Submodule imports like 'from fpyutils.file import ...' no longer work.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Upgrade to Python 3.7 or later.","message":"Support for Python 2 was dropped in version 4.0.0. The library now requires Python >=3.7.","severity":"deprecated","affected_versions":">=4.0.0"},{"fix":"Use standard library or optimized alternatives for heavy operations.","message":"The library explicitly states it is 'not efficient'. Do not rely on fpyutils for performance-critical code.","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":"Change import to 'from fpyutils import get_file_list' or the specific function you need.","cause":"Trying to import from submodules after version 4.0.0 reorganization.","error":"ModuleNotFoundError: No module named 'fpyutils.file'"},{"fix":"Check your fpyutils version (pip show fpyutils) and upgrade to 4.x. Use 'from fpyutils import get_file_list'.","cause":"Using an older version where functions were in submodules, or a typo in function name.","error":"AttributeError: module 'fpyutils' has no attribute 'get_file_list'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}