python

Also known as: python3, python@3

Formerly known as: python3

Interpreted, interactive, object-oriented programming language

https://www.python.org/

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

Linux formula code on GitHub

Current versions:

stable 3.7.5
head ⚡️ HEAD
bottle 🍾 catalina, mojave, high_sierra, x86_64_linux

Other versions:

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

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.30.1 Command-line interface for SQLite
xz 5.2.4 General-purpose data compression with high compression ratio
bzip2 1.0.8 Freely available high-quality data compressor
libffi 3.2.1 Portable Foreign Function Interface library
ncurses 6.1 Text-based UI library
zlib 1.2.11 General-purpose lossless data-compression library

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 13,037
python --HEAD 2
Installs on Request (30 days)
python 1,708
python --HEAD 2
Build Errors (30 days)
python 5
Installs (90 days)
python 33,238
python --HEAD 3
python --with-tcl-tk 2
Installs on Request (90 days)
python 4,768
python --HEAD 3
Installs (365 days)
python 88,667
python --HEAD 7
python --with-tcl-tk 5
Installs on Request (365 days)
python 18,664
python --HEAD 7
python --with-tcl-tk 2
Fork me on GitHub