Platformdirs

Latest version: v4.3.6

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

2.4.1

-------------------------------
- Drop python 3.6 support

2.4.0

-------------------------------
- Add ``user_documents_dir``

2.3.0

-------------------------------
- Add ``user_runtime_dir`` and its path-returning equivalent (37)

2.2.0

-------------------------------
- Unix: Fallback to default if XDG environment variable is empty

2.1.0

-------------------------------
- Add ``readthedocs.org`` documentation via Sphinx
- Modernize project layout
- Drop Python 2.7 and 3.5 support
- Android support
- Add type annotations
- Reorganize project layout to platform specific classes, see
:class:`PlatformDirsABC <platformdirs.api.PlatformDirsABC>` and it's implementations:
:class:`Android <platformdirs.android.Android>`, :class:`MacOS <platformdirs.macos.MacOS>`,
:class:`Unix <platformdirs.unix.Unix>` and :class:`Windows <platformdirs.windows.Windows>`
- Add ``*_path`` API, returning :class:`pathlib.Path <pathlib.Path>` objects instead of :class:`str`
(``user_data_path``, ``user_config_path``, ``user_cache_path``, ``user_state_path``, ``user_log_path``,
``site_data_path``, ``site_config_path``) - by `papr <https://github.com/papr/>`_

2.0.2

-------------------------------
- Fix ``__version__`` and ``__version_info__``

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.