macOS
brew install bagitlocal Homebrew formula metadata
brew
bagit のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install bagitlocal Homebrew formula metadata
概要
Library for creation, manipulation, and validation of bags
履歴
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.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
bagit.py | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bagit |
| Version Scheme | 1 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.