macOS
brew install cruftlocal Homebrew formula metadata
安装
brew install cruftlocal Homebrew formula metadata
nix profile install nixpkgs#cruftnixpkgs package indexes · pkgs/by-name/cr/cruft/package.nix · 来源: api.github.com
scoop install extras/cruftScoop official bucket manifest trees · bucket/cruft.json · 来源: api.github.com
概览
Utility that creates projects from templates and maintains the cruft afterwards
历史
cruft is a Python command-line tool for creating projects from Cookiecutter templates and keeping the generated boilerplate synchronized with later template changes. It addresses a common packaging problem: generated project skeletons drift after the first copy.
The project was created to balance the convenience of project generators with the maintenance burden they create. Its documentation explains that cruft uses Cookiecutter as the template expansion engine, then records template metadata in `.cruft.json` so a project can later be checked, diffed, linked, or updated.
The Git tag history starts at 2.0.0 in 2020 and reaches 2.16.0 in 2024. The repository and documentation remain centered on Python packaging workflows, with badges for PyPI, conda-forge, tests, and downloads.
cruft's adoption is strongest among teams that maintain many repositories from the same Cookiecutter template. Its documentation includes a GitHub Actions workflow that checks for template updates and opens pull requests, indicating the tool's role in repository-fleet maintenance rather than one-off project creation.
Common commands include `cruft create` for generating a project, `cruft update` for pulling template changes, `cruft check` for CI drift detection, `cruft link` for attaching an existing Cookiecutter-generated project to its template, and `cruft diff` for inspecting changes.
cruft stores template URL, commit, answers, and skip settings in `.cruft.json`; it can also read skip configuration from `tool.cruft` in `pyproject.toml`.
cruft matters to package maintainers because it treats boilerplate as an updatable dependency. That makes template updates closer to dependency upgrades: visible in diffs, enforceable in CI, and distributable through Python package managers and Homebrew.
安全态势
没有找到 cruft 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
.cruft.jsonpyproject.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cruft | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://cruft.github.io/cruft/
安装元数据
| 软件包键 | brew:cruft |
|---|---|
| 版本 | 2.16.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cruft |
| 主页 | https://cruft.github.io/cruft/ |
| 仓库 | https://github.com/cruft/cruft |
| 上游文档 | https://cruft.github.io/cruft |
| 许可证 | MIT |
| 源码归档 | https://files.pythonhosted.org/packages/d1/7e/0e20012f2aa156e5d6a70483a8d90accb7ed4966dddb0c58987d9f6eba12/cruft-2.16.0.tar.gz |
| 最后更新 | 2026-07-22T10:44:23Z |
| Pulse | updated |
| 依赖 | certifi, libyaml, python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cruft |
| Version Scheme | 0 |
| Revision | 11 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cruft 0.9.71
transitional package
https://salsa.debian.org/pkg-security-team/cruft-ng
sudo apt install cruftcruft
nix profile install nixpkgs#cruftcruft 0.9.61build1
transitional package
https://github.com/a-detiste/cruft-ng/
sudo apt install cruftextras/cruft
scoop install extras/cruft来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.