Show HN: Pathlab is pathlib for archives, images, etc.
3 by barneygale | 1 comments on Hacker News.
`pathlib.Path` is Python's object-oriented interface to local filesystem paths, but it was invented too late to be used in modules like `tarfile` and `zipfile`. It also does a lot of magic that makes it hard to extend. I wrote this package to help others write their own subclasses of `pathlib.Path` for any sort of embedded/remote filesystem. I've included built-in support for `zip`, `tar` and `iso` files (inc. SUSP+RR but exc. Joliet+UDF) and JFrog Artifactory. Hopefully it's helpful to someone. Source: https://ift.tt/2uSjgsF Docs: https://ift.tt/37tEquF Cheers
Post a Comment