pkg.soopen package index

brew / 排名 443

使用 Homebrew, apk, dnf, MacPorts, Nix, apt, pacman, scoop 安装 poetry

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

代理安全

代理安全回答

poetry manages Python dependencies and package publishing.

凭据访问

Reads PyPI tokens, repository credentials, environment variables, and project config.

远程变更

Can install dependencies and interact with package repositories.

发布/制品风险

Can build and publish Python packages.

推荐控制

Gate publish, config, and credentialed repository operations.

代理使用指南

Allow lock/test/build; require approval for publish and credential changes.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install poetry

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install poetry

MacPorts ports tree · python/poetry/Portfile · 来源: api.github.com

Linux

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

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

Fedora dnf已验证 · 92%
sudo dnf install poetry

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

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

nixpkgs package indexes · pkgs/by-name/po/poetry/package.nix · 来源: api.github.com

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

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

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

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

Windows

Scoop已验证 · 92%
scoop install main/poetry

Scoop official bucket manifest trees · bucket/poetry.json · 来源: api.github.com

概览

软件包摘要

Python package management tool

命令和别名

  • poetry

历史

项目历史与用法

Poetry is an integrated Python project manager covering dependency declaration and resolution, lock files, virtual environments, building, and publishing.

项目历史

Poetry was authored by Sébastien Eustace as an integrated Python dependency-management and packaging tool. Its early releases established declarative project metadata, dependency resolution, virtual-environment management, building, and publishing.

The 1.0 release formalized the workflow in 2019. During the following 1.1 development cycle, core packaging functionality was extracted into poetry-core, allowing the build backend to operate independently of the full Poetry application. Later releases moved features such as export and shell into plugins and expanded standards-based pyproject.toml support.

采用历史

Poetry became a prominent pyproject.toml-centered workflow by combining dependency resolution, lock files, isolated environments, package building, and publishing behind one command-line interface. It is packaged by Homebrew and many Linux, macOS, Windows, and declarative package ecosystems.

Its installation documentation recommends pipx as one supported way to isolate Poetry itself, while project environments and dependencies remain managed by Poetry.

使用方式

A typical workflow initializes or opens a pyproject.toml project, adds dependencies, commits poetry.lock, and uses poetry install or poetry sync to reproduce the environment. Poetry can also build distributions and publish them to PyPI or configured private repositories.

Global application settings live in config.toml, project-local overrides in poetry.toml, and project metadata in pyproject.toml. Repository credentials normally use the system keyring; when keyring storage is unavailable or disabled, Poetry falls back to auth.toml.

为什么软件包爱好者会关心

Poetry helped popularize an integrated, lockfile-oriented alternative to assembling pip, virtualenv, build, and upload tools separately. Packaging enthusiasts care about its resolver behavior, lock-file compatibility, PEP adoption, build backend, repository authentication, and the boundary between the Poetry application and poetry-core.

时间线

  • 2018: The official history records the early 0.9 release line.
  • 2019: Poetry 1.0.0 was released.
  • 2020: Core build functionality was extracted into poetry-core during 1.1 development.
  • 2022: Poetry 1.2 separated export functionality into a plugin.
  • 2024: Poetry 1.8 added non-package mode and lazy wheel metadata retrieval.

Related projects

  • poetry-core is Poetry's independently usable PEP 517 build backend and core metadata library.
  • pipx is an officially documented way to install and maintain the Poetry CLI in an isolated environment.
  • uv overlaps with Poetry's project, environment, lockfile, build, and publishing workflow while also managing Python installations and standalone tools.

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

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.

macOS
~/Library/Application Support/pypoetry/auth.toml~/Library/Preferences/pypoetry/auth.toml
Unix
~/.config/pypoetry/auth.toml$XDG_CONFIG_HOME/pypoetry/auth.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
~/Library/Application Support/pypoetry/auth.toml~/Library/Preferences/pypoetry/auth.toml
Unix
~/.config/pypoetry/auth.toml$XDG_CONFIG_HOME/pypoetry/auth.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
poetrycli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://python-poetry.org/

安装元数据

软件包元数据

软件包键brew:poetry
版本2.5.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/poetry
主页https://python-poetry.org/
仓库https://github.com/python-poetry/poetry
上游文档https://python-poetry.org/
许可证MIT
源码归档https://files.pythonhosted.org/packages/43/86/204ef622b09005c0290b4cb23cc8178b0fdd52d8d6b36ad6d78dab447035/poetry-2.5.1.tar.gz
最后更新2026-10-24T11:37:07Z
Pulseupdated
依赖certifi, cffi, python@3.15
构建依赖cmake, ninja, rust
macOS 提供的库libffi
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepoetry
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

python3-poetry 2.1.2+dfsg-1+deb13u1

Python dependency management and packaging made easy (Python 3)

https://python-poetry.org/

sudo apt install python3-poetry
  • Section: python
  • Architecture: all
  • Source Package: poetry
  • 24 依赖
  • normalized package name match
  • 匹配方式:Poetry
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-poetry from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

poetry

nix profile install nixpkgs#poetry
  • normalized package name match
  • 匹配方式:Poetry
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/po/poetry/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

python3-poetry 1.8.2+dfsg-1ubuntu2

Python dependency management and packaging made easy (Python 3)

https://python-poetry.org/

sudo apt install python3-poetry
  • Section: universe/python
  • Architecture: all
  • Source Package: poetry
  • 26 依赖
  • normalized package name match
  • 匹配方式:Poetry
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-poetry from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

poetry 2.3.3-r0

Python3 dependency management and packaging system

https://python-poetry.org/

sudo apk add poetry
  • License: MIT
  • Architecture: x86_64
  • Source Package: poetry
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Poetry
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: poetry from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

poetry-pyc 2.3.3-r0

Precompiled Python bytecode for poetry

https://python-poetry.org/

sudo apk add poetry-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: poetry
  • 1 依赖
  • normalized package name match
  • 匹配方式:Poetry
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: poetry-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

poetry 2.4.1-5.fc46

Python dependency management and packaging made easy

https://python-poetry.org/

sudo dnf install poetry
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: poetry
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Poetry
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: poetry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

python3-poetry 2.4.1-5.fc46

Python dependency management and packaging made easy

https://python-poetry.org/

sudo dnf install python3-poetry
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: poetry
  • 2 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Poetry
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-poetry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

python-poetry 2.4.1-1

Python dependency management and packaging made easy

https://python-poetry.org

sudo pacman -S python-poetry
  • License: MIT
  • Architecture: any
  • 28 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Poetry
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: python-poetry from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

poetry

sudo port install poetry
  • normalized package name match
  • 匹配方式:Poetry
MacPorts ports tree · api.github.com · MacPorts ports tree: python/poetry/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/poetry

scoop install main/poetry
  • normalized package name match
  • 匹配方式:Poetry
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/poetry.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated agent safety answer
  • 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