python

Also known as: python3, python@3

Formerly known as: python3

Interpreted, interactive, object-oriented programming language

https://www.python.org/

/api/formula/python.json (JSON API)

Formula code on GitHub

Current versions:

stable 3.7.4
head ⚡️ HEAD
bottle 🍾 catalina, mojave, high_sierra

Other versions:

python@2 2.7.16 Interpreted, interactive, object-oriented programming language

Revision: 1

Depends on:

gdbm 1.18.1 GNU database manager
openssl@1.1 1.1.1d Cryptography and SSL/TLS Toolkit
readline 8.0.1 Library for command-line editing
sqlite 3.29.0 Command-line interface for SQLite
xz 5.2.4 General-purpose data compression with high compression ratio

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
Python has been installed as
    $(brew --prefix)/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
    $(brew --prefix)/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
    brew install python@2

You can install Python packages with
    pip3 install <package>
They will install into the site-package directory
    $(brew --prefix)/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python

Analytics:

Installs (30 days)
python 477,553
python --HEAD 38
python --with-tcl-tk 16
Python 2
Installs on Request (30 days)
python 237,110
python --HEAD 37
python --with-tcl-tk 16
Python 2
Build Errors (30 days)
python 3,463
python --with-tcl-tk 3
Installs (90 days)
python 1,375,586
python --HEAD 100
python --with-tcl-tk 48
Python 3
python --with-berkeley-db4 1
Installs on Request (90 days)
python 683,532
python --HEAD 99
python --with-tcl-tk 47
Python 3
Installs (365 days)
python 5,138,984
python --with-tcl-tk 9,743
python --HEAD 379
Python 23
python --HEAD --with-tcl-tk 15
python --framework 9
Installs on Request (365 days)
python 2,664,035
python --with-tcl-tk 9,588
python --HEAD 377
Python 23
python --HEAD --with-tcl-tk 15
Fork me on GitHub