python@3.13

Deprecation date: 2029-11-01

Disable date: 2030-11-01

Install command:
brew install python@3.13

Interpreted, interactive, object-oriented programming language

https://www.python.org/

License: Python-2.0

Development: Pull requests

Formula JSON API: /api/formula/python@3.13.json

Formula code: python@3.13.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 3.13.16

Other versions:

python@3.14 3.14.8 Interpreted, interactive, object-oriented programming language
python@3.12 3.12.15 Interpreted, interactive, object-oriented programming language
python@3.11 3.11.17 Interpreted, interactive, object-oriented programming language
python@3.10 3.10.22 Interpreted, interactive, object-oriented programming language
python@3.9 3.9.25 Interpreted, interactive, object-oriented programming language

Depends on:

mpdecimal 4.0.1 Library for decimal floating point arithmetic
openssl@3 3.6.5 Cryptography and SSL/TLS Toolkit
sqlite 3.53.4 Command-line interface for SQLite
xz 5.8.4 General-purpose data compression with high compression ratio

Depends on when building from source:

pkgconf 3.0.7 Package compiler and linker metadata toolkit

Uses from macOS: bzip2, expat (since macOS Sequoia), libedit, libffi, ncurses

Binaries: idle3.13, pip3.13, pydoc3.13, python3.13, python3.13-config, wheel3.13

Python is installed as
    $HOMEBREW_PREFIX/bin/python3.13

Unversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to
`python3.13`, `python3.13-config`, `pip3.13` etc., respectively, are installed into
    $HOMEBREW_PREFIX/opt/python@3.13/libexec/bin

If you do not need a specific version of Python, and always want Homebrew's `python3` in your PATH:
    brew install python3

`idle3.13` requires tkinter, which is available separately:
    brew install python-tk@3.13

`dbm.gnu` is available separately:
    brew install python-gdbm@3.13

For more information about Homebrew and Python, see: https://docs.brew.sh/Homebrew-and-Python

Analytics:

30 days90 days365 days
Installs46,529181,6881,389,046
Installs (--HEAD)37155877
Installs on Request27,133106,463533,621
Installs on Request (--HEAD)37154865
Build Errors64