$npx skillfedfor your agent

pathlib3x

backport of pathlib 3.10 to python 3.6, 3.7, 3.8, 3.9 with a few extensions

Worth itPyPI Python ModulesReleased Jul 2023105.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pathlib3x-2.0.3-py3-none-any.whl
v2.0.3 · released 2023-07-20 · Python >=3.8.0 · 2 runtime deps: click, cli-exit-tools

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–3.10 or want shutil operations as Path methods; skip if you target only Python 3.11+.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8.0 or newer; package is a backport and does not add features to Python 3.11+.
  • Low install friction with only two runtime dependencies (click, cli-exit-tools).
  • Actively maintained as of 2026-07-21 with production-stable status.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2023-07-20 (1121 days) · last repo commit 2026-07-21 · 14 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 105,129 downloads/mo, #12,719 on PyPI

Verify before relying

pip install pathlib3x

import pathlib3x as pathlib

my_file = pathlib.Path('/etc/hosts')
my_file.unlink(missing_ok=True)  # works on Python 3.8+

to_file = pathlib.Path('/tmp/backup')
my_file.copy(to_file)
  • Whether the package's own extensions (append_suffix, replace_parts, shutil wrappers) are tested to the same coverage standard as the backported pathlib methods.
  • Performance characteristics compared to standard pathlib on Python 3.11+ where both are available.
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • Use modern pathlib features (missing_ok, etc.) in codebases that must support Python 3.8–3.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().

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

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–3.10 or want shutil operations as Path methods; skip if you target only Python 3.11+.

Install

pathlib3x on PyPI

Before you install

Low install friction with only two runtime dependencies (click, cli-exit-tools). Actively maintained as of 2026-07-21 with production-stable status.

Requires Python 3.8.0 or newer; package is a backport and does not add features to Python 3.11+.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install pathlib3x

import pathlib3x as pathlib

my_file = pathlib.Path('/etc/hosts')
my_file.unlink(missing_ok=True)  # works on Python 3.8+

to_file = pathlib.Path('/tmp/backup')
my_file.copy(to_file)

Verify before relying

  • Whether the package's own extensions (append_suffix, replace_parts, shutil wrappers) are tested to the same coverage standard as the backported pathlib methods.
  • Performance characteristics compared to standard pathlib on Python 3.11+ where both are available.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
clickcli-exit-tools
MaintenanceActively maintained 1,121 days since the last release
Last repo commit
First released
Downloads105,129 / month, #12,719 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python Modules

Evidence: pathlib3x-2.0.3-py3-none-any.whl

Tags

Capabilities
pathlib backport older pythonpath manipulation 3.8 3.9 3.10file operations pathlib extensionsshutil wrapper path methodscross-version pathlib compatibilitypath copy move deletepathlib missing_ok unlink
Topics
backportfile-operationspathlib-extensions

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “path manipulation 3.8 3.9 3.10”

  • pathlib3xBackport of Python 3.11 pathlib to Python 3.8+ with extensions like…
  • svg.pathParses SVG path definitions and provides objects to manipulate path…
  • mplibMPlib provides motion planning algorithms for robot manipulation,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also backports.shutil_get_terminal_size · pathlib-mate · pathlib2 · pathlib-abc · pathlib · traceback2 · zipp · eval-type-backport · pkgutil_resolve_name · path.py