LibraryOfCongress / bagit-python

Work with BagIt packages from Python.
http://libraryofcongress.github.io/bagit-python
216 stars 85 forks source link

is_valid() method can now pass an optional processes parameter to validate() #140

Closed gwiedeman closed 5 months ago

gwiedeman commented 4 years ago

I'm not sure if this wasn't included for some reason I'm not seeing, but this lets you use multiple cores when validating with the is_valid() method as a library. You can then: if bag.is_valid(processes=4):

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-1.0%) to 82.394% when pulling 93e58576eb5c2df606bdc46a354cebf7108c4418 on gwiedeman:master into 4b76c143e61d815043f1e8bdfbb159ce98f7d978 on LibraryOfCongress:master.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.7%) to 82.637% when pulling 93e58576eb5c2df606bdc46a354cebf7108c4418 on gwiedeman:master into 4b76c143e61d815043f1e8bdfbb159ce98f7d978 on LibraryOfCongress:master.