Automic VaultAutomic Vault

brew

bagit を Homebrew でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install bagit

local Homebrew formula metadata

概要

パッケージ概要

Library for creation, manipulation, and validation of bags

コマンドとエイリアス

  • bagit.py

履歴

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

bagit is the Library of Congress-maintained Python library and command-line utility for creating, reading, and validating BagIt packages. Its importance comes from the BagIt format more than from the code itself: BagIt is a simple directory layout for reliable transfer and preservation of arbitrary digital content.

プロジェクトの歴史

The BagIt format was developed in the digital-preservation community and standardized as RFC 8493 in October 2018 by contributors from the California Digital Library, Stanford Libraries, the Library of Congress, and others. The RFC describes BagIt as a filesystem hierarchy with payload files, tag files, manifests, and checksum validation rather than as a compressed archive format.

The bagit-python repository was created under the Library of Congress GitHub organization in 2013. Its README presents the package as both a Python module and a `bagit.py` command-line program for turning directories into bags, updating bag metadata, regenerating manifests, and validating bags.

採用の歴史

RFC 8493 notes BagIt use across preservation organizations including the Library of Congress, Dryad Data Repository, NSF DataONE, the Rockefeller Archive Center, and university libraries including Cornell, Purdue, Stanford, Ghent University, New York University, and the University of California.

In package-manager culture, `bagit` is a small but durable archival utility: Homebrew packages it as a formula, and the formula API reported stable version 1.9.0 with 19 installs in the previous 30 days as of June 30, 2026.

使われ方

Common CLI workflows are `bagit.py /path/to/dir` to create a bag, `bagit.py --validate /path/to/bag` to validate manifests and payloads, and checksum flags such as `--sha256` or `--sha512` to control manifest generation. The module API exposes the same ideas through `bagit.make_bag`, `bagit.Bag`, `save`, and `validate`.

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

bagit is a package nerd's preservation tool: it turns a normal directory tree into a self-describing, checksum-verifiable transfer object without forcing data into tar or zip. It is the kind of small CLI that matters in archives, data repositories, and reproducible handoffs precisely because its format is boring and inspectable with ordinary filesystem tools.

タイムライン

  • 2013: LibraryOfCongress/bagit-python repository created on GitHub.
  • 2018: BagIt File Packaging Format v1.0 published as RFC 8493.
  • 2026: Homebrew formula reports stable bagit 1.9.0.

Related projects

  • RFC 8493 lists implementations in several languages, including Python, Ruby, Java, Perl, and PHP.
  • The broader BagIt ecosystem includes archival repositories and preservation workflows that exchange bags between institutions.

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

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

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

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

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://libraryofcongress.github.io/bagit-python/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:bagit
バージョン1.9.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/bagit
ホームページhttps://libraryofcongress.github.io/bagit-python/
リポジトリhttps://github.com/LibraryOfCongress/bagit-python
上流ドキュメントhttps://libraryofcongress.github.io/bagit-python
ライセンスCC0-1.0
ソースアーカイブhttps://files.pythonhosted.org/packages/a1/a0/8866b4c6f894af0eb10e4964157f3241dd4117700fc010e7825471d51a13/bagit-1.9.0.tar.gz
依存関係python@3.14
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソース経路

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

このページは 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
  • package relationship graph
  • package version freshness
  • package-page enrichment