bagit-python icon indicating copy to clipboard operation
bagit-python copied to clipboard

Work with BagIt packages from Python.

Results 69 bagit-python issues
Sort by recently updated
recently updated
newest added

I'm using Windows 10, running in WSL Ubuntu 20.04, with python3, pip3, all prequisites seeming fine. In bagit.py, I'm getting an error at the line ` os.chmod("data", os.stat(cwd).st_mode) ` and...

Bagit-python is currently using a generic pattern to import the list of checksums available to the tool to be used: https://github.com/LibraryOfCongress/bagit-python/blob/bff20d27ee191a1a21381bcf633724ef7b36f727/bagit.py#L125-L131 This creates a help-command with the following in `Python...

When I attempt to run bagit.py with --processes option, I receive an enormous output of parsing exceptions. This does not occur when I do NOT invoke --processes. Is there is...

I recently discovered that the [BagIt 1.0 specification](https://datatracker.ietf.org/doc/html/rfc8493#section-2.1.3) requires that `CR`, `LF`, and `%` in file paths within manifest files are percent-encoded, and that there isn't a single BagIt implementation...

The spec states: > The name of the checksum algorithm MUST be normalized for use in the manifest's filename by lowercasing the common name of the algorithm and removing all...

BagIt validation fails with "Malformed URLs" when fetch.txt contains lines such as "file:///etc/hosts" while the BagIt specification mentions that fetch.txt should accept any URI according to [RFC3986](https://datatracker.ietf.org/doc/html/rfc3986), which says that...

Question, is it possible to create a bag at location A for an existing data directory at B without moving the data into the bag's `data/` subdirectory? My use case...

It looks like it passes all the tests (`python setup.py test` doesn't return any error) and it also succeds to validate the bag I added in https://github.com/LibraryOfCongress/bagit-conformance-suite/pull/14 with this kind...

Hello, It appears to me that if an error is raised, it only contains details if it gets past the Payload-Oxum check - is that correct? If I have a...

Observed on Linux, a failure at line 931 of bagit.py in git commit hash code `bff20d2` `RHEL 7.5 (Maipo), Linux 3.10.0-1160.15.2.el7.x86_64 GNU/Linux` `Python 3.7.4` using miniconda3 File names containing this...