pkg.soopen package index

brew / 排名 95

使用 Homebrew, winget, chocolatey, MacPorts, zypper, dnf, scoop, apt, pacman, apk, Nix 安装 python@3.12

查看 python@3.12 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install python@3.12

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install python312

MacPorts ports tree · lang/python312/Portfile · 来源: api.github.com

Linux

openSUSE zypper已验证 · 92%
sudo zypper install python312

openSUSE Tumbleweed package metadata · python312 · 来源: download.opensuse.org

Fedora dnf已验证 · 92%
sudo dnf install python3.12

Fedora Rawhide package metadata · python3.12 · 来源: dl.fedoraproject.org

Ubuntu apt已验证 · 92%
sudo apt install idle-python3.12

Ubuntu 24.04 LTS package indexes · idle-python3.12 · 来源: archive.ubuntu.com

Arch Linux pacman已验证 · 92%
sudo pacman -S python

Arch Linux sync databases · python · 来源: geo.mirror.pkgbuild.com

Alpine Linux apk已验证 · 92%
sudo apk add python3

Alpine Linux edge package indexes · python3 · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install python3

Debian stable package indexes · python3 · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#python3

nixpkgs package indexes · python3 · 来源: raw.githubusercontent.com

Windows

Windows Package Manager已验证 · 92%
winget install --id Python.Python.3.12 -e

Windows Package Manager source index · Python.Python.3.12 · 来源: cdn.winget.microsoft.com

Chocolatey已验证 · 92%
choco install python312

Chocolatey community package catalog · python312 · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install versions/python312

Scoop 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.

时间线

  • 1989: Guido van Rossum begins work on Python.
  • 1991: Python is first published publicly.
  • 2001: The Python Software Foundation is formed.
  • 2022-05-08: Python 3.12 development begins.
  • 2023-10-02: Python 3.12.0 is released.

Related projects

  • CPython: the reference Python implementation provided by this formula.
  • pip and PyPI: Python's standard package-installation command and principal public package index.
  • venv: the standard-library mechanism for creating isolated Python environments.
  • PyPy: an alternative Python implementation centered on a tracing JIT.

安全态势

尚未找到受保护工具覆盖

没有找到 python@3.12 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
${PYTHONSTARTUP}
Windows
%PYTHONSTARTUP%

可执行文件

已安装的可执行文件

命令类型暴露范围备注
没有可执行文件数据。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本3.12.16
管理器更新时间2026-10-25
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.python.org/

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namepython@3.12
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

winget95%

Python.Python.3.12

winget install --id Python.Python.3.12 -e
  • normalized package name match
  • 匹配方式:Python 3 12
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Python.Python.3.12 from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

python312

sudo port install python312
  • package manager index match
  • 匹配方式:Python312
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/python312/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Ubuntu apt92%

idle-python3.12 3.12.3-1

IDE for Python (v3.12) using Tkinter

sudo apt install idle-python3.12
  • Section: universe/python
  • Architecture: all
  • Source Package: python3.12
  • 4 依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: idle-python3.12 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12-dev 3.12.3-1

Header files and a static library for Python (v3.12)

sudo apt install libpython3.12-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: python3.12
  • 4 依赖
  • 2 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12-minimal 3.12.3-1

Minimal subset of the Python language (version 3.12)

sudo apt install libpython3.12-minimal
  • Section: python
  • Architecture: amd64
  • Source Package: python3.12
  • 2 依赖
  • 1 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12-minimal from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12-stdlib 3.12.3-1

Interactive high-level object-oriented language (standard library, version 3.12)

sudo apt install libpython3.12-stdlib
  • Section: python
  • Architecture: amd64
  • Source Package: python3.12
  • 15 依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12-stdlib from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12-testsuite 3.12.3-1

Testsuite for the Python standard library (v3.12)

sudo apt install libpython3.12-testsuite
  • Section: universe/libdevel
  • Architecture: all
  • Source Package: python3.12
  • 2 依赖
  • 2 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12-testsuite from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12t64 3.12.3-1

Shared Python runtime library (version 3.12)

sudo apt install libpython3.12t64
  • Section: libs
  • Architecture: amd64
  • Source Package: python3.12
  • 4 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12t64-dbg 3.12.3-1

Debug Build of the Python Interpreter (version 3.12)

sudo apt install libpython3.12t64-dbg
  • Section: debug
  • Architecture: amd64
  • Source Package: python3.12
  • 14 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12t64-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12 3.12.3-1

Interactive high-level object-oriented language (version 3.12)

sudo apt install python3.12
  • Section: python
  • Architecture: amd64
  • 5 依赖
  • 4 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-dbg 3.12.3-1

Debug Build of the Python Interpreter (version 3.12)

sudo apt install python3.12-dbg
  • Section: debug
  • Architecture: amd64
  • Source Package: python3.12
  • 5 依赖
  • 3 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-dev 3.12.3-1

Header files and a static library for Python (v3.12)

sudo apt install python3.12-dev
  • Section: python
  • Architecture: amd64
  • Source Package: python3.12
  • 3 依赖
  • 2 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-doc 3.12.3-1

Documentation for the high-level object-oriented language Python (v3.12)

sudo apt install python3.12-doc
  • Section: doc
  • Architecture: all
  • Source Package: python3.12
  • 2 依赖
  • 1 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-examples 3.12.3-1

Examples for the Python language (v3.12)

sudo apt install python3.12-examples
  • Section: python
  • Architecture: all
  • Source Package: python3.12
  • 1 依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-examples from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-full 3.12.3-1

Python Interpreter with complete class library (version 3.12)

sudo apt install python3.12-full
  • Section: universe/python
  • Architecture: amd64
  • Source Package: python3.12
  • 8 依赖
  • 3 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-full from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-minimal 3.12.3-1

Minimal subset of the Python language (version 3.12)

sudo apt install python3.12-minimal
  • Section: python
  • Architecture: amd64
  • Source Package: python3.12
  • 3 依赖
  • 2 可选依赖
  • package manager index match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-minimal from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation