skillfed

riot

A simple Python test runner runner.

riot v0.22.1 148.1K downloads/30d#11,044 on PyPI25
Permissive license Apache 2 Active released

What it is and what it does

riot is a virtual environment constructor and command runner that automates the creation and management of isolated Python environments. It lets you define multiple dependency configurations and run tests or commands across all of them in a reproducible way, without manually creating and activating separate venvs. The package depends on click for CLI handling, virtualenv for environment creation, rich for terminal output formatting, pexpect for subprocess interaction, packaging for version handling, and setuptools for installation support.

It's designed for scenarios where you need to test code against different versions of dependencies or Python itself—a common pattern in library development and CI/CD. Rather than writing shell scripts to loop through environment setup, you define your matrix once and riot handles the isolation and execution.

Use it for:

  • Test a library against multiple Python versions (3.8 through 3.14) in isolated environments.
  • Run integration tests with different versions of key dependencies to catch compatibility issues.
  • Automate reproducible test matrices in CI/CD pipelines without manual venv management.
  • Verify that a package works across a grid of Python and dependency combinations before release.
  • Execute arbitrary commands (linting, building, benchmarking) in isolated, controlled environments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

riot constructs isolated Python virtual environments and runs commands within them, enabling reproducible testing across multiple dependency configurations.

Yes, if you need to test across multiple dependency or Python version configurations. The package is actively maintained, has low install friction, carries a permissive license, and eliminates boilerplate around virtual environment management. It's most valuable in library development and CI/CD contexts; less relevant for single-environment applications.

Install

riot on PyPI

pip

pip install riot

uv

uv add riot

poetry

poetry add riot

Installing riot

Before you install

Low friction installation with a pure-wheel distribution. Active maintenance (last commit 2026-07-09) and recent release cycle (39 days since 0.22.1). Depends on well-established packages: click, virtualenv, rich, pexpect, packaging, and setuptools.

License in practice

Licensed under Apache 2, a permissive license allowing commercial and private use with minimal restrictions—no compatibility concerns for most projects.

Quickstart

pip install riot

from riot import __version__

# Typically invoked via CLI: riot run
# Creates and manages virtual environments per configuration

Requires Python 3.8 or later; pexpect dependency may have platform-specific behavior on Windows.

Verify before relying

  • Whether riot is designed for CI/CD pipelines or local development workflows (or both).
  • How riot's configuration file format works and what syntax it expects.
  • Whether riot can parallelize test runs across multiple environments.
  • Integration patterns with existing test frameworks (pytest, unittest, etc.).

Package facts

License Apache 2 (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 6 — click, virtualenv, rich, pexpect, packaging, setuptools
Maintenance actively maintained — 39 days since the last release
Last repo commit
First released
Downloads 148,100/month — #11,044 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: riot-0.22.1-py3-none-any.whl

Programming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

virtual environment test runnerpython test matrix runnerisolated environment command executormulti-config test automationdependency matrix testingpython environment constructorreproducible test environments
test-automationenvironment-managementci-cd

More Testing packages