5.3. Types

class pathvalidate.Platform(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Platform specifier enumeration.

LINUX = 'Linux'
MACOS = 'macOS'
POSIX = 'POSIX'

POSIX compatible platform.

UNIVERSAL = 'universal'

platform independent. note that absolute paths cannot specify this.

WINDOWS = 'Windows'