bagit-python
bagit-python copied to clipboard
Work with BagIt packages from Python.
Links
Currently if you attempt to bag a directory that contains symbolic links bagit.py happily creates the bag, but the manifests will not include the linked files or directories. `bagit.py --validate`...
In this line: https://github.com/LibraryOfCongress/bagit-python/blob/c39b650a80837a1d32314599143d0b5b04159248/bagit.py#L1315 I didn't test this, but shouldn't the argument to `os.path.filename` be prefixed with `bag_dir`?
Hello, I encountered an issue today with `bagit.py` failing to deal with a broken soft link, and halting bagging an otherwise-intact file system tree. I was attempting to use the...
Hello, I have both Python 2.7 and 3.7 on my computer, running Windows 7 Enterprise and with 3.7 in the environment variable. When I try to run bagit, I get...
Creating multiple bags in threads doesn't work: ``` import bagit from multiprocessing.pool import ThreadPool ThreadPool().map(bagit.make_bag, ('dirA', 'dirB')) ``` This fails with a `FileNotFoundError` because `make_bag` uses `os.chdir`, which is not...
add split bag by size like the java version of the library supports as requested by https://github.com/LibraryOfCongress/bagit-java/issues/47
In addition to validating local files, bagit should also be able to validate bags in s3 bucket,
When creating a new bag, `make_bag()` takes the bag directory as argument. It assumes the current content of this bag directory to be the payload. It creates a new subdirectory...