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

WWW: https://github.com/thombashi/pathvalidate
