macOS
brew install python@3.12local Homebrew formula metadata
sudo port install python312MacPorts ports tree · lang/python312/Portfile · 来源: api.github.com
brew / 排名 95
查看 python@3.12 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。
安装
brew install python@3.12local Homebrew formula metadata
sudo port install python312MacPorts ports tree · lang/python312/Portfile · 来源: api.github.com
sudo zypper install python312openSUSE Tumbleweed package metadata · python312 · 来源: download.opensuse.org
sudo dnf install python3.12Fedora Rawhide package metadata · python3.12 · 来源: dl.fedoraproject.org
sudo apt install idle-python3.12Ubuntu 24.04 LTS package indexes · idle-python3.12 · 来源: archive.ubuntu.com
sudo pacman -S pythonArch Linux sync databases · python · 来源: geo.mirror.pkgbuild.com
sudo apk add python3Alpine Linux edge package indexes · python3 · 来源: dl-cdn.alpinelinux.org
sudo apt install python3Debian stable package indexes · python3 · 来源: deb.debian.org
nix profile install nixpkgs#python3nixpkgs package indexes · python3 · 来源: raw.githubusercontent.com
winget install --id Python.Python.3.12 -eWindows Package Manager source index · Python.Python.3.12 · 来源: cdn.winget.microsoft.com
choco install python312Chocolatey community package catalog · python312 · 来源: community.chocolatey.org
scoop install versions/python312Scoop official bucket manifest trees · bucket/python312.json · 来源: api.github.com
概览
Interpreted, interactive, object-oriented programming language
历史
Python is a high-level, interpreted, general-purpose programming language. This package supplies the CPython 3.12 runtime and its versioned command-line, packaging, documentation, and development tools.
Guido van Rossum began Python in December 1989 as an ABC-influenced language intended to appeal to Unix and C users. Python later moved through CNRI and PythonLabs, and the Python Software Foundation was formed in 2001 to hold Python-related intellectual property.
Python 3.12 was released on October 2, 2023. Its release highlights included generalized f-string parsing, new type-parameter syntax, a per-interpreter GIL, low-impact monitoring, performance work, and removal of long-deprecated standard-library components.
Python evolved from a scripting language into a general-purpose runtime used for education, automation, web services, scientific computing, data analysis, and developer tooling. Operating-system package managers distribute CPython alongside the language-level pip and venv workflows.
Versioned packages such as Homebrew's python@3.12 let applications, CI jobs, and extension maintainers retain a particular interpreter ABI while the default Python formula advances. The supplied package-manager map identifies corresponding 3.12 packages in several other distribution ecosystems.
Users run scripts and modules, work in the interactive interpreter, create isolated environments with venv, and install third-party distributions with pip. PYTHONSTARTUP may name an optional user-selected file whose commands run before the first interactive prompt; Python does not assign that file a fixed filesystem path.
Python 3.12 is consequential to package maintainers because it removed distutils from the standard library, stopped installing setuptools by default in new virtual environments, changed CPython internals, and established a new extension-module and wheel compatibility target.
安全态势
没有找到 python@3.12 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
${PYTHONSTARTUP}%PYTHONSTARTUP%可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
| 没有可执行文件数据。 | |||
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:python@3.12 |
|---|---|
| 版本 | 3.12.16 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/python@3.12 |
| 主页 | https://www.python.org/ |
| 上游文档 | https://www.python.org/ |
| 许可证 | Python-2.0 |
| 源码归档 | https://www.python.org/ftp/python/3.12.16/Python-3.12.16.tgz |
| 最后更新 | 2026-10-25T22:29:31Z |
| Pulse | updated |
| 依赖 | mpdecimal, openssl@3, sqlite, xz |
| 构建依赖 | pkgconf |
| macOS 提供的库 | bzip2, expat, libedit, libffi, libxcrypt, ncurses |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | Python is installed as $HOMEBREW_PREFIX/bin/python3.12 Unversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to `python3.12`, `python3.12-config`, `pip3.12` etc., respectively, are installed into $HOMEBREW_PREFIX/opt/python@3.12/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.12` requires tkinter, which is available separately: brew install python-tk@3.12 `dbm.gnu` is available separately: brew install python-gdbm@3.12 For more information about Homebrew and Python, see: https://docs.brew.sh/Homebrew-and-Python |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | python@3.12 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
Python.Python.3.12
winget install --id Python.Python.3.12 -epython312
sudo port install python312idle-python3.12 3.12.3-1
IDE for Python (v3.12) using Tkinter
sudo apt install idle-python3.12libpython3.12-dev 3.12.3-1
Header files and a static library for Python (v3.12)
sudo apt install libpython3.12-devlibpython3.12-minimal 3.12.3-1
Minimal subset of the Python language (version 3.12)
sudo apt install libpython3.12-minimallibpython3.12-stdlib 3.12.3-1
Interactive high-level object-oriented language (standard library, version 3.12)
sudo apt install libpython3.12-stdliblibpython3.12-testsuite 3.12.3-1
Testsuite for the Python standard library (v3.12)
sudo apt install libpython3.12-testsuitelibpython3.12t64 3.12.3-1
Shared Python runtime library (version 3.12)
sudo apt install libpython3.12t64libpython3.12t64-dbg 3.12.3-1
Debug Build of the Python Interpreter (version 3.12)
sudo apt install libpython3.12t64-dbgpython3.12 3.12.3-1
Interactive high-level object-oriented language (version 3.12)
sudo apt install python3.12python3.12-dbg 3.12.3-1
Debug Build of the Python Interpreter (version 3.12)
sudo apt install python3.12-dbgpython3.12-dev 3.12.3-1
Header files and a static library for Python (v3.12)
sudo apt install python3.12-devpython3.12-doc 3.12.3-1
Documentation for the high-level object-oriented language Python (v3.12)
sudo apt install python3.12-docpython3.12-examples 3.12.3-1
Examples for the Python language (v3.12)
sudo apt install python3.12-examplespython3.12-full 3.12.3-1
Python Interpreter with complete class library (version 3.12)
sudo apt install python3.12-fullpython3.12-minimal 3.12.3-1
Minimal subset of the Python language (version 3.12)
sudo apt install python3.12-minimal来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.