bagit-python
bagit-python copied to clipboard
Work with BagIt packages from Python.
I am new to using Bagit and would appreciate some advice on using --validate function. From reading other threads, I can see that there is a WARNING issued if a...
Hello, My name is Eric Ebner, I am an intern at the Moravian Archives located in Bethlehem, PA, and I am looking for some help using Bagit to create AIPs...
How would I go about completing an incomplete bag, which has files referenced in `fetch.txt` not present in `/data`? Is this outside the domain of the tool or just not...
Adds a new method `Bag.fetch_files_to_be_fetched()` that fetches files listed in `fetch.txt`, c.f. #118. If this is useful for someone, can be further refined (CLI, overrideable fetch implementation, anti-hammering interval).
Python 2 will be [officially unsupported at the end of the year](https://www.python.org/dev/peps/pep-0373/). * [ ] Flag all 2/3 switch points with a `FIXME` comment containing “Python 2} * [ ]...
`tempfile.mkdtemp` has permission bits hardcoded into it, which works for `/tmp`-like filesystems where multiple users are expected to be active at the same time, but might break regular folders in...
The en-dash (`–`) caused a `UnicodeDecodeError` for me. It should not since the `# *-* coding` comment is set at the top of the file but it still did for...
The previous behavior of `bagit.py` was asymmetrical with respect to how it treated long tag lines: it would handle folded lines when reading the `bag-info.txt` file, but it would not...
I'm trying to pass a string with newlines into the command line option for filling the External-Description metadata element, formatted nicely in accordance with the spec (https://tools.ietf.org/html/rfc8493#section-2.2.2), but because of...
As your code reads and we experienced in tests, entries for the tag file are parsed into a dictionary. As the IETF recommendation reads, however ... > The "bag-info.txt" file...