pkg.soopen package index

brew / 排名 7833

使用 Homebrew, Nix 安装 repren

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install repren

local Homebrew formula metadata

Linux

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

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

概览

软件包摘要

Rename anything using powerful regex search and replace

命令和别名

  • repren

历史

项目历史与用法

repren is a command-line tool for applying literal or regular-expression replacements to file contents and paths. It emphasizes safe bulk changes through previews, backups, atomic operations, and undo support.

项目历史

repren was created by Jonathan Levy as a general-purpose power-renaming and text-refactoring utility. It is implemented as a self-contained Python program with no runtime dependencies.

The project later added explicit coding-agent support while retaining its original command-line workflow for human users.

采用历史

Distributed through Homebrew and Nix according to source_facts.package-manager; the official project also supports installation through uv and direct execution with uvx.

使用方式

Users can rewrite standard input, edit selected files in place, or recursively process directory trees. Patterns may be provided on the command line or in tab-separated pattern files.

A typical workflow previews a refactor with `--dry-run`, applies it, reviews the resulting diff, and then either restores `.orig` backups with `--undo` or removes them with `--clean-backups`.

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

repren combines content replacement and filesystem renaming in one dependency-free Python utility. Dry runs, atomic writes, backups, undo support, simultaneous substitutions, and case-preserving renames make it useful for broad mechanical refactors.

时间线

  • Early project: Developed as a general-purpose Python search-and-replace and renaming utility.
  • Later development: Added structured JSON output and coding-agent skill support.

Related projects

  • The official comparison discusses classic sed/awk/perl workflows and newer tools including sd, fastmod, ast-grep, comby, and rnr.

来源

  • Input package coverage: source_facts.package-manager
  • Official repository and README: https://github.com/jlevy/repren

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:repl

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-09-19
管理器版本3.1.1
管理器更新时间2026-08-27
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/jlevy/repren

安装元数据

软件包元数据

软件包键brew:repren
版本3.1.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/repren
主页https://github.com/jlevy/repren
仓库https://github.com/jlevy/repren
许可证MIT
源码归档https://files.pythonhosted.org/packages/8f/2b/74f60c028f4ad0d74b700e508486cf837749c9d1d5a12d56c6086942375e/repren-3.1.1.tar.gz
最后更新2026-08-27T10:07:38Z
Pulseupdated
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

repren

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

来源线索

由仓库数据生成

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

使用的来源

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