Python library to sanitize/validate a string such as filenames

Edit Package python-pathvalidate
https://github.com/thombashi/pathvalidate

pathvalidate is a Python library to sanitize/validate a string such as
filenames/file-paths/etc.

Refresh
Refresh
Source Files
Filename Size Changed
pathvalidate-3.2.1.tar.gz 0000059263 57.9 KB
python-pathvalidate.changes 0000004310 4.21 KB
python-pathvalidate.spec 0000001940 1.89 KB
Latest Revision
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1198062 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 9)
- update to 3.2.1:
  * Test Python 3.12 in CIs
  * Fix coverage report
  * Fix `sanitize_filename` truncation
  * Fix validation functions of filepaths
  * If `platform` argument is `windows` or `universal`, filepaths
    ending with a space or a period should be detected as an
    error
  * Fix POSIX-style absolute paths were not detected as errors
    with `platform="windows"` or `platform="universal"` on Python
    3.12 and below
  * Add support for Python 3.13
  * Improve type annotations
  * Add a build and publish workflow
  * Add Sigstore signatures to release assets
Comments 0
openSUSE Build Service is sponsored by