--- id: bagit-profile version: "1.3.1" license: CC0 license_treatment: permissive maintenance: abandoned --- # bagit-profile — This module can be used to validate BagitProfiles. License: permissive · Maintenance: abandoned · Downloads: 119.1K/mo ## What it is and what it does bagit-profile is a Python module for validating BagIt bags against profile specifications. It works alongside the bagit library to check whether a bag conforms to a given BagIt profile, including validation of serialization format and structural requirements defined in the profile. The package provides both a Python API and a command-line interface. You instantiate a profile from a URI, then call validate methods to check serialization constraints and overall profile compliance. It is designed for use in digital preservation workflows where BagIt is used as a container format and profiles enforce specific requirements. Use it for: - Validate digital preservation bags against institutional or domain-specific BagIt profiles before ingest - Enforce serialization requirements (e.g., tar, zip) in automated bag processing pipelines - Check structural compliance of bags in archival workflows without extending the bagit library itself - Integrate profile validation into preservation system quality assurance steps ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Validates BagIt bags against BagIt profile specifications, checking serialization and structural compliance with a profile URI. No. The package is abandoned (last release 2020-03-24, no commits since) and classifiers indicate support only through Python 3.7. While it has low install friction and no known vulnerabilities, the lack of maintenance means it will not adapt to changes in Python, bagit, or the BagIt Profiles Specification. Use only if you are locked into an older Python environment and cannot migrate to an actively maintained alternative. ## Install pip install bagit-profile uv add bagit-profile poetry add bagit-profile ## Installing bagit-profile Before you install: Low install friction with a pure Python wheel. However, the package is abandoned—last release was 2020-03-24 and no commits since. Depends on bagit and requests, both stable libraries, but expect no maintenance or updates. License in practice: Licensed under CC0 (public domain equivalent), imposing no restrictions on use, modification, or distribution. Quickstart: pip install bagit-profile import bagit import bagit_profile bag = bagit.Bag('mydir') profile = bagit_profile.Profile('http://example.com/bagitprofile.json') if profile.validate(bag): print('Validates') Requires a valid BagIt bag directory and a reachable profile URI; bagit package must be installed separately. Verify before relying: - Whether the package works reliably with current Python versions (classifiers list 2.7 through 3.7, but last release was 2020) - Whether bagit and requests dependencies have evolved in ways that break this validator - Current state of BagIt Profiles Specification and whether this implementation remains compliant ## Package facts - License: CC0 (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 119.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags bagit profile validation, validate bagit bags, bagit compliance checker, bagit serialization validation, bagit profile validator, digital-preservation, bagit, validation [View on SkillFed](https://skillfed.io/packages/bagit-profile) · [View on PyPI](https://pypi.org/project/bagit-profile/)