Installation

This package is available on PyPi, so you can install the latest stable release with you favorite package manager:

Easiest way is to install uv, then use it to add it to your project:

$ uv add extra-platforms

Or to install it in your current virtual environment:

$ uv pip install extra-platforms

You can install the latest stable release and its dependencies with a simple pip call:

$ python -m pip install extra-platforms

See also pip installation instructions.

Try Extra Platforms

Before you decide to permanently install Extra Platforms on your system, you may want to try it out first without contaminating your system.

You can do so easily with uvx, which will launch a Python REPL with a pre-installed extra-platforms package:

$ uvx --with extra-platforms python

Installed 3 packages in 5ms
Python 3.11.11 (main, Mar 17 2025, 21:33:08) [Clang 20.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.

>>> import extra_platforms

>>> extra_platforms.__version__
'3.2.3'

Tip

The uvx command above is going to download the latest stable release of the extra-platforms package from PyPi. If you want to try a development version instead, you can do:

$ uvx --with git+https://github.com/kdeldycke/extra-platforms python

Main dependencies

This is a graph of the default, main dependencies of the Python package:

        flowchart TD
    classDef missing stroke-dasharray: 5
    distro["distro\n1.9.0"]
    extra-platforms["extra-platforms\n4.1.0"]
    extra-platforms -- ">=1.9.0" --> distro


    

Extra dependencies

For additional features, you may need to install extra dependencies.

For Pytest

Activate new fixtures and utilities for testing Click CLIs:

$ pip install extra-platforms[pytest]

Naming

[!TIP] I wanted to call this package platforms, but it’s already taken on PyPI. So I went with extra-platforms instead, to mark its affiliation with Click Extra.