/pybagit

Python library for manipulating bagit files.

Primary LanguagePythonOtherNOASSERTION

PyBagIt 2.0.0-alpha-1

Build Status PyPI version fury.io MIT license

This module helps with creating and managing BagIt-compliant packages. It has been created to conform to BagIt v0.97.

Documentation is available at http://ahankinson.github.io/pybagit. Code hosting is available on GitHub at http://github.com/ahankinson/pybagit/.

Requirements

  • Tested with Python 3.6, 3.7
  • No external modules required.
  • Module has not been tested on Windows.

Running Tests

There are a number of unit tests written to verify that this module functions as expected. To run this, simply type python setup.py test in the package directory.

NOTE: You will need a network connection to verify the 'fetch' tests. If you don't have a network connection you can skip these tests by commenting them out in bagtest.py

Setup and Install

To install this module, simply run:

  • python setup.py install

(Do not install any python module with sudo, unless you are using a very obscure OS that requires it.)