{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"}],"enrichment":{"capability":"Backport of Python 3.11 pathlib to Python 3.8+ with extensions like shutil wrappers (copy, rmtree, copytree) and new methods (append_suffix, replace_parts).","skillfed_tags":["backport","file-operations","pathlib-extensions"],"use_cases":["Use modern pathlib features (missing_ok, etc.) in codebases that must support Python 3.8\u20133.10.","Copy or move files using Path.copy() and Path.copy2() instead of importing shutil separately.","Manipulate path strings with append_suffix() to add extensions without replacing existing ones.","Replace path components with replace_parts() when copying directory trees to new locations.","Check if an object is a Path instance across mixed pathlib and pathlib3x code using is_path_instance()."],"what_it_does":"pathlib3x is a backport of Python 3.11's pathlib module to Python 3.8, 3.9, and 3.10, allowing you to use newer pathlib features (like the missing_ok parameter on unlink) on older Python versions without try-except boilerplate. It also adds convenience wrappers around shutil functions (copy, copy2, copyfile, rmtree, copytree) as methods on Path objects, and introduces new methods like append_suffix and replace_parts for path manipulation.\n\nThe package is fully typed (PEP 561) and actively maintained. It depends on click and cli-exit-tools at runtime. Use it when you need to support older Python versions but want to write modern pathlib code, or when you want shutil operations available as Path methods for cleaner syntax.","worth_installing":"Yes. Low install friction, permissive license, no known vulnerabilities, and active maintenance make it a safe choice. Install if you need modern pathlib on Python 3.8\u20133.10 or want shutil operations as Path methods; skip if you target only Python 3.11+."},"id":"pathlib3x","links":{"html":"https://skillfed.io/packages/pathlib3x","md":"https://skillfed.io/packages/pathlib3x.md","pypi":"https://pypi.org/project/pathlib3x/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-07-20","license_spdx":null,"license_treatment":"permissive","name":"pathlib3x","python_support":"supports_current","summary":"backport of pathlib 3.10 to python 3.6, 3.7, 3.8, 3.9 with a few extensions"},"popularity":{"monthly_downloads":105129,"position":12719,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.3"}
