Home | Trees | Index | Help |
|
---|
Package Pyblio :: Module 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 withparse
, 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. |
_RIPCategory |
Function Summary | |
---|---|
Return the extensions in a given category, for a given schema. | |
Return the Pyblio.Schema.Schema corresponding to an
identifier returned by schemas . | |
Parse the specified directory, and load all the .rip files it contains. | |
parse_default()
| |
Forget all the schemas and extensions previously parsed with parse . | |
Return the list of known schemas. |
Variable Summary | |
---|---|
dict |
RIP_dirs = {'system': '/home/fred/devel/pyblio/1.3/Pybli...
|
SRE_Pattern |
_adapt_re = ([\w\d\.]+)\s*->\s*([\w\d\./]+)
|
str |
_base = '/home/fred/devel/pyblio/1.3/Pyblio'
|
dict |
_schema = {}
|
str |
_user = '/home/fred/.pyblio'
|
Function Details |
---|
get(schema, category)Return the extensions in a given category, for a given schema. |
getSchema(schema)Return thePyblio.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 withparse .
|
schemas()Return the list of known schemas. |
Variable Details |
---|
RIP_dirs
|
_adapt_re
|
_base
|
_schema
|
_user
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Sep 24 23:52:44 2006 | http://epydoc.sf.net |