macOS
brew install reprenlocal Homebrew formula metadata
安装
brew install reprenlocal Homebrew formula metadata
nix profile install nixpkgs#reprennixpkgs package indexes · pkgs/by-name/re/repren/package.nix · 来源: api.github.com
概览
Rename anything using powerful regex search and replace
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
repren | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | repren |
| 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 软件包链接分开显示。
repren
nix profile install nixpkgs#repren来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.