ocfl-py - A Python implementation of OCFL
Project description
WORK IN PROGRESS - NO GUARANTEE, NO MONEY BACK :-)
Attempts to follow current draft of OCFL specification
Installing
This code requires Python 3.
This code is Alpha, in active development both to flesh out support for the OCFL draft specification and to track changes in it. To get the most up to date version check out the master branch from github (or if you are reckless you can try the develop branch).
I hope to keep a version not too far out of date on PyPI too, which can be installed or upgraded to the current version with:
pip install –upgrade ocfl-py
Use
There should then be three scripts available:
ocfl-validate.py - validate OCFL objects or OCFL storage roots
ocfl-object.py - build, manipulate, extract from or validate an OCFL object
ocfl-store.py - add or access OCFL objects under an OCFL storage root
Each script takes -h for help.
See examples in docs folder for use.
The code is also available as a module ocfl for other python code to use. However, the interfaces should not be considered stable at the moment.
Contributing
Bug reports welcome as github issues
See CONTRIBUTING.md for guidelines for contributing.
Copyright and License
Copyright 2018–2020 Simeon Warner and contributors. Provided under the MIT license, see LICENSE.txt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.