Skip to main content

logo

Nox

Nox License PyPI GitHub Code Style CI Downloads

Flexible test automation with Python

Overview

nox is a command-line tool that automates testing in multiple Python environments, similar to tox. Unlike tox, Nox uses a standard Python file for configuration:

import nox


@nox.session
def tests(session: nox.Session) -> None:
    session.install("pytest")
    session.run("pytest")

@nox.session
def lint(session: nox.Session) -> None:
    session.install("flake8")
    session.run("flake8", "--import-order-style", "google")

Installation

Nox is designed to be installed globally (not in a project virtual environment), the recommended way of doing this is via pipx, a tool designed to install python CLI programs whilst keeping them separate from your global or system python.

To install Nox with pipx:

pipx install nox

You can also use pip in your global python:

python3 -m pip install nox

You may want to use the user-site to avoid messing with your Global python install:

python3 -m pip install --user nox

Usage

List all sessions

nox -l/--list

Get help on a particular session (if it has a docstring)

nox --usage test

Run all sessions

nox

Run a particular session

nox -s/--session test

Checkout the docs for more! 🎉

Contributing

Nox is an open source project and welcomes contributions of all kinds, checkout the contributing guide for help on how to help us out!

All contributors must follow the code of conduct and be nice to one another! 😃

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nox-2026.8.17.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nox-2026.8.17-py3-none-any.whl (94.8 kB view details)

Uploaded Python 3

File details

Details for the file nox-2026.8.17.tar.gz.

File metadata

  • Download URL: nox-2026.8.17.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nox-2026.8.17.tar.gz
Algorithm Hash digest
SHA256 8d9c69c9b996a59db1eb2c6968deaebc2edbc55317d205981bbc4a37351d3f2e
MD5 642489f4cdc4e4601e331fcb87ce1a5c
BLAKE2b-256 be654cef8ae8f6dbcb5753b202e46791277f1ea0b4a0650d1a6cb940c468b143

See more details on using hashes here.

Provenance

The following attestation bundles were made for nox-2026.8.17.tar.gz:

Publisher: cd.yml on wntrblm/nox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nox-2026.8.17-py3-none-any.whl.

File metadata

  • Download URL: nox-2026.8.17-py3-none-any.whl
  • Upload date:
  • Size: 94.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nox-2026.8.17-py3-none-any.whl
Algorithm Hash digest
SHA256 a96a5286007cbc0d1eb1930e85738668f6722adba1ffaa48287296a96963086e
MD5 19f9194421525f947f2ff429d83aac83
BLAKE2b-256 8171e0829a0500646070e98bc4442afa2917bfe5b6f1289511d8de853ae86497

See more details on using hashes here.

Provenance

The following attestation bundles were made for nox-2026.8.17-py3-none-any.whl:

Publisher: cd.yml on wntrblm/nox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2026.8.17 This release

2 files

2026.8.10

2 files

2026.7.11

2 files

2026.4.10

2 files

2026.2.9

2 files

2025.11.12

2 files

2025.10.16

2 files

2025.10.14

2 files

2025.5.1

2 files

2025.2.9

2 files

2024.10.9

2 files

2024.4.15

2 files

2024.3.2

2 files

2023.4.22

2 files

2022.11.21

2 files

2022.8.7

2 files

2022.1.7

2 files

2021.10.1

2 files

2021.6.12

2 files

2021.6.6

2 files

2020.12.31

2 files

2020.8.22

2 files

2020.5.24

2 files

2019.11.9

2 files

2019.8.20

2 files

2019.5.30

2 files

2019.4.11

2 files

2018.10.17

2 files

2018.10.15

2 files

2018.10.9

2 files

2018.9.14

2 files

2018.8.23

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page