Automic VaultAutomic Vault

brew

cram を Homebrew, apt, MacPorts でインストール

cram のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install cram

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install cram

MacPorts ports tree · devel/cram/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install python3-cram

Debian stable package indexes · python3-cram · ソース: deb.debian.org

概要

パッケージ概要

Functional testing framework for command-line applications

コマンドとエイリアス

  • cram

履歴

プロジェクトの歴史と使われ方

Cram is a functional testing framework for command-line applications, built around test files that look like annotated interactive shell sessions.

プロジェクトの歴史

Cram's official site describes tests as snippets of interactive shell sessions: commands are run, and their actual output is compared with expected output stored in `.t` files.

採用の歴史

The project's NEWS file shows a compact release history from 0.1 in 2010 through 0.7 in 2016. Over that period it gained interactive update support, regex and glob matching, temporary-directory isolation, Python 3 support, `.cramrc`, shell selection, and xUnit XML output.

使われ方

Developers use Cram for black-box CLI tests where shell commands and expected output are easier to review than imperative test code. It prints unified diffs for failures, can write `.err` files, and can interactively merge observed output back into tests.

パッケージ好きにとっての重要性

Cram has lasting package-manager appeal because it tests command-line behavior at the packaging boundary. A formula or distro maintainer can exercise installed commands exactly as users run them, without importing the application as a library.

タイムライン

  • 2010: Version 0.1 was released.
  • 2010: Versions 0.3 and 0.4 added environment isolation, interactive updates, regex and glob matching.
  • 2013: Version 0.6 added `.cramrc`, shell selection, and Arch Linux package metadata.
  • 2016: Version 0.7 added debug mode, shell options, and xUnit XML output.

Related projects

  • Cram is conceptually close to shell transcript testing and Mercurial-style `.t` tests, but is distributed as its own Python command-line test runner.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
cramcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版0.7
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://bitheap.org/cram

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://bitheap.org/cram信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cram
バージョン0.7
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/cram
ホームページhttps://bitheap.org/cram
リポジトリhttps://github.com/aiiie/cram
上流ドキュメントhttps://bitheap.org/cram
ライセンスGPL-2.0-or-later
ソースアーカイブhttps://files.pythonhosted.org/packages/38/85/5a8a3397b2ccb2ffa3ba871f76a4d72c16531e43d0e58fc89a0f2983adbd/cram-0.7.tar.gz
依存関係python@3.14
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

python3-cram 0.7-6

functional testing framework for command line applications - Python 3.x

https://bitheap.org/cram/

sudo apt install python3-cram
  • Section: python
  • Architecture: all
  • Source Package: cram
  • 1 依存関係
  • normalized package name match
  • 一致条件: Cram
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-cram from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python3-cram 0.7-5

functional testing framework for command line applications - Python 3.x

https://bitheap.org/cram/

sudo apt install python3-cram
  • Section: universe/python
  • Architecture: all
  • Source Package: cram
  • 1 依存関係
  • normalized package name match
  • 一致条件: Cram
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-cram from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

cram

sudo port install cram
  • normalized package name match
  • 一致条件: Cram
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cram/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment