Skip to main content

ocfl-py - A Python implementation of OCFL

Project description

https://travis-ci.org/zimeon/ocfl-py.svg?branch=main https://coveralls.io/repos/github/zimeon/ocfl-py/badge.svg?branch=main

WORK IN PROGRESS - NO GUARANTEE, NO MONEY BACK :-)

Attempts to follow OCFL specification v1.0, see implementation status for errors and warnings for details of validator support.

Installing

This code requires Python 3.

This code attempts to support the OCFL specification v1.0 and to additional developments. To get the most up to date version check out the main 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 of these scripts.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocfl-py-1.1.1.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ocfl_py-1.1.1-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file ocfl-py-1.1.1.tar.gz.

File metadata

  • Download URL: ocfl-py-1.1.1.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for ocfl-py-1.1.1.tar.gz
Algorithm Hash digest
SHA256 db975b165610c9e1b96c9ccdafb49f5f64ad12aed698e49b83ec13996fae2399
MD5 85faeb626037a2c91e44dfa82288527e
BLAKE2b-256 110449b2dc1ef53e757d3953558eeffb6fe3beb6ed1f1d2a8ec5402da3189d1d

See more details on using hashes here.

File details

Details for the file ocfl_py-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: ocfl_py-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 49.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for ocfl_py-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 473ed4b40a66a97713fd048fd36a669635fb1a120962201f1fd73d0da30391fc
MD5 42369715a668c190d9f4a31058ff5663
BLAKE2b-256 9334dc3f3c056016f38981cd5ae6410109a49aca0655965b6508b85d60b0e7a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page