Package Pyblio :: Module Registry
[show private | hide private]
[frames | no frames]

Module Pyblio.Registry

Support for RIP files.

RIP files are files containing registering information for schemas, and extension classes customized for these schemas (like importers, exporters, citation formatters,...)

First, you need to parse a few RIP repositories with parse, then you can browse the results with schemas, getSchema and get.
Classes
AdapterRIP A special RIP that keeps the description of an Adapter.
RIP A RIP object represents a dynamic class that can be loaded on demand, and that has been registered via the Registry system.

Function Summary
  get(schema, category)
Return the extensions in a given category, for a given schema.
  getSchema(schema)
Return the Pyblio.Schema.Schema corresponding to an identifier returned by schemas.
  parse(directory)
Parse the specified directory, and load all the .rip files it contains.
  parse_default()
  reset()
Forget all the schemas and extensions previously parsed with parse.
  schemas()
Return the list of known schemas.

Variable Summary
dict RIP_dirs = {'system': '/home/fred/devel/pyblio/1.3/Pybli...

Function Details

get(schema, category)

Return the extensions in a given category, for a given schema.

getSchema(schema)

Return the Pyblio.Schema.Schema corresponding to an identifier returned by schemas.

parse(directory)

Parse the specified directory, and load all the .rip files it contains.

reset()

Forget all the schemas and extensions previously parsed with parse.

schemas()

Return the list of known schemas.

Variable Details

RIP_dirs

Type:
dict
Value:
{'system': '/home/fred/devel/pyblio/1.3/Pyblio/RIP',
 'user': '/home/fred/.pyblio'}                                         

Generated by Epydoc 2.1 on Sun Sep 24 23:52:44 2006 http://epydoc.sf.net