OCFL Core is on PyPI so all you need is:
$ pip install ocflcore
Oxford Common Filesystem Layout module for Python.