Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, pacman 安装 bpython

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bpython

local Homebrew formula metadata

Linux

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

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

Fedora dnf已验证 · 92%
sudo dnf install python3-bpython

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

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

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

概览

软件包摘要

Fancy interface to the Python interpreter

命令和别名

  • bpdb
  • bpython
  • bpython-urwid

历史

项目历史与用法

bpython is a long-running enhanced interface to the Python interactive interpreter. Its official site emphasizes inline syntax highlighting, readline-like autocomplete, rewind, and pastebin support, positioning it as a friendlier REPL rather than a replacement Python runtime.

项目历史

The GitHub repository describes bpython as a fancy curses interface to the Python interactive interpreter, and the official website lists Linux, BSD, macOS, and partial Windows support. The tag history reaches back to a 0.9.4 release commit in July 2009, while the modern GitHub repository metadata dates the current repository object to 2014.

Over time, bpython tracked Python language releases and terminal UI dependencies. The official changelog records releases focused on Python 3.10, 3.11, 3.13, and 3.14 support, as well as curtsies dependency changes, theme configuration fixes, and declarative build configuration.

采用历史

bpython became a staple optional Python REPL in package managers because it adds interactive niceties without asking users to abandon standard Python semantics. The input package facts list Homebrew, Debian, Fedora, Arch, and Ubuntu packaging.

Its adoption overlaps with IPython, ptpython, and standard `python` REPL workflows. bpython's niche is lightweight terminal interaction: autocomplete and display improvements with less notebook or shell-framework machinery.

使用方式

Users run `bpython` for an enhanced interactive Python session, `bpython-urwid` for the urwid frontend, or `bpdb` for debugger-related use. Configuration lives under `$XDG_CONFIG_HOME/bpython/config`, and the docs describe editing that config from inside bpython with F3.

The documented feature set focuses on day-to-day interactive work: syntax highlighting, suggestions as you type, rewinding recent input and reevaluating, pastebin submission, themes, and editor integration.

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

bpython matters because REPL ergonomics are a quiet but important layer of language tooling. It is small enough to package like a CLI utility, but visible enough that Python users often discover it while comparing interpreter frontends.

For package history, bpython is also a durable example of a non-core developer tool following Python's release cadence. Each new Python version creates compatibility work, so the package's changelog doubles as a record of ecosystem maintenance.

时间线

  • 2009: 0.9.4 release tag commit appears in the official GitHub repository history.
  • 2014: Current GitHub repository object was created.
  • 2021: Changelog records Python 3.10 support work in the 0.22 era.
  • 2024: Changelog records Python 3.13 support in 0.25.
  • 2025: 0.26 release tag appears with Python 3.14 support.

Related projects

  • Related Python REPLs include the standard CPython interactive interpreter, IPython, ptpython, and other terminal shells that improve completion, display, and editing.
  • The bpython docs and executables also connect it to terminal UI libraries such as curses, urwid, and curtsies.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:interpreter

安装行为

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

建议审查

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

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
$XDG_CONFIG_HOME/bpython/config~/.config/bpython/config

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bpdbcli全局可执行文件
bpythoncli全局可执行文件
bpython-urwidcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本0.26
管理器更新时间2026-05-20
本地数据OK
上游not checked
检测到的最新版本未检测到

https://bpython-interpreter.org

安装元数据

软件包元数据

软件包键brew:bpython
版本0.26
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bpython
主页https://bpython-interpreter.org
仓库https://github.com/bpython/bpython
上游文档https://docs.bpython-interpreter.org/en/latest
许可证MIT
源码归档https://files.pythonhosted.org/packages/44/29/cd80e9108a6fc6a925ffb915f8f69198a2bb2388e39167a41d743ac2a8f4/bpython-0.26.tar.gz
最后更新2026-05-20T10:57:00Z
Pulseupdated
依赖certifi, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

bpython 0.25-2

fancy interface to the Python 3 interpreter

https://bpython-interpreter.org/

sudo apt install bpython
  • Section: python
  • Architecture: all
  • 10 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Bpython
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bpython from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

bpython 0.24-1

fancy interface to the Python 3 interpreter

https://bpython-interpreter.org/

sudo apt install bpython
  • Section: universe/devel
  • Architecture: all
  • 10 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Bpython
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bpython from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

python3-bpython 0.26-4.fc45

Fancy curses interface to the Python 3 interactive interpreter

http://www.bpython-interpreter.org/

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

python3-bpython-urwid 0.26-4.fc45

Urwid interface to the Python 3 interactive interpreter

http://www.bpython-interpreter.org/

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

bpython 0.26-2

Fancy ncurses interface to the Python interpreter

https://bpython-interpreter.org/

sudo pacman -S bpython
  • License: MIT
  • Architecture: any
  • 5 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Bpython
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bpython from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • 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