7,380 open-source and SaaS tools, with GitHub stats refreshed every day.

Tox

Open source

tox is a command-line tool that automates Python testing across multiple environments and acts as a front end to CI servers.

tox.wiki
Tox homepage screenshot
GitHub stars
3.9k
Last commit
yesterday
Repository age
10 years
Version
4.64.7
Licence
MIT
Self-hosted
Yes

About Tox

tox is built to automate and standardize how Python code is tested. It is a general-purpose command-line tool for managing virtual environments and running tests, creating isolated environments, installs your package into each one and runs your tests there, making it a staple of Python project workflows. It belongs to a broader effort to simplify packaging, testing and releasing Python software, together with pytest and devpi.

Typical uses are checking that a package builds and installs correctly under different Python implementations, versions or dependency sets, running tests in every environment with the test tool of your choice, and acting as a front end for continuous integration servers so that CI configuration and local shell commands stay in sync with much less boilerplate. Topics reference virtualenv, venv and GitHub Actions.

tox is written in Python and licensed under MIT. It runs on developer machines and in CI pipelines, so nothing needs hosting. It suits maintainers of Python libraries and applications who need a repeatable way to test across versions.

Key features

  • Isolated virtual environments per test run
  • Tests across Python versions and implementations
  • Package build and install verification
  • Works with any test runner
  • Front end for CI servers
  • Single configuration for local and CI runs

Good fit for

  • →Testing a library across Python versions
  • →Keeping CI and local test commands consistent
Built with
Python
Tags
python
testing
automation
virtualenv
ci
cli
packaging

Tox: questions and answers

What is Tox used for?
tox is a command-line tool that automates Python testing across multiple environments and acts as a front end to CI servers. It is a good fit for testing a library across Python versions, and keeping CI and local test commands consistent.
Is Tox open source?
Yes. Tox is open source under the MIT licence. Its source code is on GitHub at tox-dev/tox and is written mainly in Python.
Is Tox free?
Yes. Tox is open source, so the software itself is free to use.
What are some alternatives to Tox?
Similar open-source tools in the Testing & QA category include QA Wolf CLI, pytest-testmon and Lamda. SaaS products in the same category include Codecov, Coveralls and Acceslab.
Is Tox actively maintained?
Yes. The most recent commit to Tox was on 1 October 2026, and the latest release is 4.64.7, published on 1 October 2026. The project has 3.9k stars on GitHub.

Open-source alternatives to Tox

See all

SaaS alternatives to Tox

See all