Skip to main content

Flexible test automation.

Project description

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 user the user-site to avoid messing with your Global python install:

python3 -m pip install --user nox

Usage

List all sessions

nox -l/--list

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! 😃

Project details


Download files

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

Source Distribution

nox-2025.10.14.tar.gz (4.0 MB view details)

Uploaded Source

Built Distribution

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

nox-2025.10.14-py3-none-any.whl (73.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nox-2025.10.14.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nox-2025.10.14.tar.gz
Algorithm Hash digest
SHA256 2f839d2b071a54ede549f59ff7017c3752b636f7a10f6cbe3d7dedfe4c7d3ce8
MD5 52ca218d0c1f1e894ad9d11e4dbbd5dd
BLAKE2b-256 9f5107f2e7d2f6f64c0c4cb722adf65e9352afae0e1dea60cf2c95594dd2b658

See more details on using hashes here.

Provenance

The following attestation bundles were made for nox-2025.10.14.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-2025.10.14-py3-none-any.whl.

File metadata

  • Download URL: nox-2025.10.14-py3-none-any.whl
  • Upload date:
  • Size: 73.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nox-2025.10.14-py3-none-any.whl
Algorithm Hash digest
SHA256 1e08f987d143e8011820ef0b83ea9cc1b7380c6190d1435758c444abf3445520
MD5 8f1b88439de1186815975b63f6fd4fbe
BLAKE2b-256 a4fe97edd29b855e0ae71c615ee795640e7473f469be589fd17f324dad0a1f79

See more details on using hashes here.

Provenance

The following attestation bundles were made for nox-2025.10.14-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page