Package pairtree :: Module pairtree_client
[hide private]
[frames] | no frames]

Module pairtree_client

source code

Conventions used:

From http://www.cdlib.org/inside/diglib/pairtree/pairtreespec.html version 0.1

This client handles all of the pairtree conventions, and provides a Pairtree object to make it easier to interact with.

Usage

>>> from pairtree import PairtreeStorageClient

To create a pairtree store in mystore/ to hold objects which have a URI base of http://example.org/ark:/123

>>> store = PairtreeStorageClient(store_dir='mystore', uri_base='http://example.org/ark:/123')
Classes [hide private]
  PairtreeStorageClient
A client that oversees the implementation of the Pairtree FS specification version 0.1.
Variables [hide private]
  __package__ = 'pairtree'