Unipath provides an object-oriented alternative to os/os.path/shutil for Python file system path manipulation, wrapping common operations in a Path class. Current version is 1.1, stable but in maintenance mode with infrequent releases.
pip install UnipathNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: create a Path and check existence/read content.
Migrate to pathlib.Path for Python 3.12+ compatibility. Unipath may not receive updates.
Use pathlib.Path instead: from pathlib import Path.
Use p.child('subdir') instead of p + '/subdir'.Call p.exists(refresh=True) to bypass cache.
Use: from unipath import Path
Use str(p) when passing to functions that expect str or os.PathLike.
Migrate to pathlib.Path: from pathlib import Path.
No dependency data recorded yet.