tox 3.16.0


pip install tox==3.16.0


Meta
Author: Holger Krekel, Oliver Bestwalter, Bernát Gábor and others
Maintainer: Bernat Gabor, Oliver Bestwalter, Anthony Asottile
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7

Classifiers

Development Status
  • 5 - Production/Stable

Framework
  • tox

Intended Audience
  • Developers

License
  • OSI Approved :: MIT License

Operating System
  • MacOS :: MacOS X
  • Microsoft :: Windows
  • POSIX

Programming Language
  • Python :: 2
  • Python :: 2.7
  • Python :: 3
  • Python :: 3.5
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8

Topic
  • Software Development :: Libraries
  • Software Development :: Testing
  • Utilities

Latest version on PyPi Supported Python versions Azure Pipelines build status Documentation status Code style: black Downloads

tox logo

tox automation project

Command line driven CI frontend and development task automation tool

At its core tox provides a convenient way to run arbitrary commands in isolated environments to serve as a single entry point for build, test and release activities.

tox is highly configurable and pluggable.

Example: run tests with Python 2.7 and Python 3.7

tox is mainly used as a command line tool and needs a tox.ini or a tool.tox section in pyproject.toml containing the configuration.

To test a simple project that has some tests, here is an example with a tox.ini in the root of the project:

[tox]
envlist = py27,py37

[testenv]
deps = pytest
commands = pytest
$ tox

[lots of output from what tox does]
[lots of output from commands that were run]

__________________ summary _________________
  py27: commands succeeded
  py37: commands succeeded
  congratulations :)

tox created two testenvs - one based on Python2.7 and one based on Python3.7, it installed pytest in them and ran the tests. The report at the end summarizes which testenvs have failed and which have succeeded.

Note: To learn more about what you can do with tox, have a look at the collection of examples in the documentation or existing projects using tox.

How it works

tox creates virtual environments for all configured so called testenvs, it then installs the project and other necessary dependencies and runs the configured set of commands. See system overview for more details.

tox flow

tox can be used for ...

  • creating development environments
  • running static code analysis and test tools
  • automating package builds
  • running tests against the package build by tox
  • checking that packages install correctly with different Python versions/interpreters
  • unifying Continuous Integration and command line based testing
  • building and deploying project documentation
  • releasing a package to PyPI or any other platform
  • limit: your imagination

Documentation

Documentation for tox can be found at Read The Docs.

Communication and questions

If you have questions or suggestions you can first check if they have already been answered or discussed on our issue tracker on Stack Overflow (tagged with tox).

If you want to discuss topics or propose changes that might not (yet) fit into an issue, you can get in touch via mail through tox-dev@python.org.

We also have a Gitter community.

Contributing

Contributions are welcome. See contributing and our Contributor Covenant Code of Conduct.

Currently the code and the issues are hosted on Github.

The project is licensed under MIT.

4.31.0 Oct 09, 2025
4.30.3 Oct 02, 2025
4.30.2 Sep 04, 2025
4.30.1 Sep 03, 2025
4.30.0 Sep 03, 2025
4.29.0 Aug 29, 2025
4.28.4 Jul 31, 2025
4.28.3 Jul 26, 2025
4.28.2 Jul 25, 2025
4.28.1 Jul 23, 2025
4.28.0 Jul 20, 2025
4.27.0 Jun 17, 2025
4.26.0 May 13, 2025
4.25.0 Mar 27, 2025
4.24.2 Mar 07, 2025
4.24.1 Jan 21, 2025
4.24.0 Jan 21, 2025
4.23.2 Oct 22, 2024
4.23.1 Oct 22, 2024
4.23.0 Oct 17, 2024
4.22.0 Oct 15, 2024
4.21.2 Oct 03, 2024
4.21.1 Oct 02, 2024
4.21.0 Oct 01, 2024
4.20.0 Sep 19, 2024
4.19.0 Sep 17, 2024
4.18.1 Sep 07, 2024
4.18.0 Aug 13, 2024
4.17.1 Aug 07, 2024
4.17.0 Aug 05, 2024
4.16.0 Jul 03, 2024
4.15.1 Jun 06, 2024
4.15.0 Apr 26, 2024
4.14.2 Mar 22, 2024
4.14.1 Mar 06, 2024
4.14.0 Mar 05, 2024
4.13.0 Feb 17, 2024
4.12.1 Jan 17, 2024
4.12.0 Jan 12, 2024
4.11.4 Nov 28, 2023
4.11.3 Sep 08, 2023
4.11.2 Sep 08, 2023
4.11.1 Sep 01, 2023
4.11.0 Aug 29, 2023
4.10.0 Aug 21, 2023
4.9.0 Aug 16, 2023
4.8.0 Aug 12, 2023
4.7.0 Aug 08, 2023
4.6.4 Jul 06, 2023
4.6.3 Jun 20, 2023
4.6.2 Jun 17, 2023
4.6.1 Jun 15, 2023
4.6.0 Jun 05, 2023
4.5.2 May 27, 2023
4.5.1.1 Aug 31, 2023
4.5.1 Apr 26, 2023
4.5.0 Apr 24, 2023
4.4.12 Apr 13, 2023
4.4.11 Apr 05, 2023
4.4.10 Apr 05, 2023
4.4.9 Apr 05, 2023
4.4.8 Mar 26, 2023
4.4.7 Mar 12, 2023
4.4.6 Feb 21, 2023
4.4.5 Feb 08, 2023
4.4.4 Jan 31, 2023
4.4.3 Jan 31, 2023
4.4.2 Jan 25, 2023
4.4.1 Jan 25, 2023
4.4.0 Jan 25, 2023
4.3.5 Jan 18, 2023
4.3.4 Jan 17, 2023
4.3.3 Jan 16, 2023
4.3.2 Jan 16, 2023
4.3.1 Jan 16, 2023
4.3.0 Jan 16, 2023
4.2.8 Jan 12, 2023
4.2.7 Jan 11, 2023
4.2.6 Jan 06, 2023
4.2.5 Jan 06, 2023
4.2.4 Jan 05, 2023
4.2.3 Jan 05, 2023
4.2.2 Jan 04, 2023
4.2.1 Jan 04, 2023
4.2.0 Jan 04, 2023
4.1.3 Jan 02, 2023
4.1.2 Dec 31, 2022
4.1.1 Dec 29, 2022
4.1.0 Dec 29, 2022
4.0.19 Dec 28, 2022
4.0.18 Dec 26, 2022
4.0.17 Dec 26, 2022
4.0.16 Dec 20, 2022
4.0.15 Dec 19, 2022
4.0.14 Dec 18, 2022
4.0.13 Dec 18, 2022
4.0.12 Dec 16, 2022
4.0.11 Dec 15, 2022
4.0.10 Dec 15, 2022
4.0.9 Dec 13, 2022
4.0.8 Dec 11, 2022
4.0.7 Dec 11, 2022
4.0.6 Dec 11, 2022
4.0.5 Dec 10, 2022
4.0.4 Dec 09, 2022
4.0.3 Dec 08, 2022
4.0.2 Dec 08, 2022
4.0.1 Dec 08, 2022
4.0.0 Dec 07, 2022
4.0.0rc4 Dec 07, 2022
4.0.0rc3 Dec 06, 2022
4.0.0rc2 Dec 05, 2022
4.0.0rc1 Nov 29, 2022
4.0.0b3 Nov 28, 2022
4.0.0b2 Apr 11, 2022
4.0.0b1 Feb 06, 2022
4.0.0a10 Jan 04, 2022
4.0.0a9 Sep 16, 2021
4.0.0a8 Aug 21, 2021
4.0.0a7 Jul 28, 2021
4.0.0a6 Feb 15, 2021
4.0.0a5 Jan 23, 2021
4.0.0a4 Jan 16, 2021
4.0.0a3 Jan 13, 2021
4.0.0a2 Jan 08, 2021
3.28.0 Dec 17, 2022
3.27.1 Nov 14, 2022
3.27.0 Oct 26, 2022
3.26.0 Sep 08, 2022
3.25.1 Jun 29, 2022
3.25.0 Apr 11, 2022
3.24.5 Dec 29, 2021
3.24.4 Sep 16, 2021
3.24.3 Aug 21, 2021
3.24.2 Aug 18, 2021
3.24.1 Jul 31, 2021
3.24.0 Jul 14, 2021
3.23.1 May 05, 2021
3.23.0 Mar 03, 2021
3.22.0 Feb 16, 2021
3.21.4 Feb 02, 2021
3.21.3 Jan 28, 2021
3.21.2 Jan 19, 2021
3.21.1 Jan 13, 2021
3.21.0 Jan 08, 2021
3.20.1 Oct 09, 2020
3.20.0 Sep 01, 2020
3.19.0 Aug 06, 2020
3.18.1 Jul 28, 2020
3.18.0 Jul 23, 2020
3.17.1 Jul 15, 2020
3.17.0 Jul 14, 2020
3.16.1 Jun 29, 2020
3.16.0 Jun 26, 2020
3.15.2 Jun 06, 2020
3.15.1 May 20, 2020
3.15.0 May 02, 2020
3.14.6 Mar 25, 2020
3.14.5 Feb 17, 2020
3.14.4 Feb 13, 2020
3.14.3 Dec 28, 2019
3.14.2 Dec 02, 2019
3.14.1 Nov 13, 2019
3.14.0 Sep 03, 2019
3.13.2 Jul 01, 2019
3.13.1 Jun 25, 2019
3.13.0 Jun 25, 2019
3.12.1 May 23, 2019
3.12.0 May 23, 2019
3.11.1 May 16, 2019
3.11.0 May 15, 2019
3.10.0 May 13, 2019
3.9.0 Apr 17, 2019
3.8.6 Apr 03, 2019
3.8.5 Apr 03, 2019
3.8.4 Apr 01, 2019
3.8.3 Mar 29, 2019
3.8.2 Mar 29, 2019
3.8.1 Mar 28, 2019
3.8.0 Mar 27, 2019
3.7.0 Jan 11, 2019
3.6.1 Dec 24, 2018
3.6.0 Dec 13, 2018
3.5.3 Oct 28, 2018
3.5.2 Oct 09, 2018
3.5.1 Oct 08, 2018
3.5.0 Oct 08, 2018
3.4.0 Sep 20, 2018
3.3.0 Sep 11, 2018
3.2.1 Aug 10, 2018
3.2.0 Aug 10, 2018
3.1.3 Aug 03, 2018
3.1.2 Jul 12, 2018
3.1.1 Jul 09, 2018
3.1.0 Jul 08, 2018
3.0.0 Apr 02, 2018
3.0.0rc4 Mar 23, 2018
3.0.0rc3 Mar 22, 2018
3.0.0rc2 Mar 03, 2018
3.0.0rc1 Jan 28, 2018
2.9.1 Sep 29, 2017
2.9.0 Sep 29, 2017
2.9.0rc1 Sep 14, 2017
2.8.2 Sep 10, 2017
2.8.1 Sep 04, 2017
2.8.0 Sep 01, 2017
2.8.0rc2 Aug 26, 2017
2.8.0rc1 Aug 13, 2017
2.7.0 Apr 06, 2017
2.6.0 Feb 03, 2017
2.5.0 Nov 16, 2016
2.4.1 Oct 13, 2016
2.4.0 Oct 12, 2016
2.3.2 Nov 30, 2016
2.3.1 Dec 14, 2015
2.3.0 Dec 11, 2015
2.2.1 Nov 11, 2015
2.2.0 Nov 11, 2015
2.1.1 Jun 23, 2015
2.1.0 Jun 19, 2015
2.0.2 Jun 03, 2015
2.0.1 May 12, 2015
2.0.0 May 12, 2015
1.9.2 Mar 23, 2015
1.9.1 Mar 23, 2015
1.9.0 Feb 24, 2015
1.8.1 Oct 24, 2014
1.8.0 Sep 24, 2014
1.7.2 Jul 15, 2014
1.7.1 Mar 28, 2014
1.7.0 Jan 29, 2014
1.6.1 Sep 04, 2013
1.6.0 Aug 15, 2013
1.5.0 Jun 22, 2013
1.4.3 Mar 01, 2013
1.4.2 Jul 20, 2012
1.4.1 Jul 03, 2012
1.4 Jun 13, 2012
1.3 Dec 21, 2011
1.2 Nov 10, 2011
1.1 Jul 09, 2011
1.0 May 28, 2011
0.9 Nov 25, 2010
0.8 Jul 31, 2010
0.7 Jul 14, 2010
0.6 Jul 12, 2010
0.5 Jul 12, 2010
0.0.0 Oct 07, 2018

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release