Home | Trees | Index | Help |
|
---|
Package Pyblio :: Module Adapter |
|
Adapt a database schema to another one.
Given a database in, say, PubMed format, it is possible to plug an adapter on top of it so that it looks as if the database is in, say, BibTeX format instead.Classes | |
---|---|
Adapter |
This class is a db built on top of another db, which behaves as if it were of a different schema. |
OneToOneAdapter |
This adapter assumes a one-to-one mapping between the source and the target databases. |
Function Summary | |
---|---|
Returns a database using the specified 'target_schema', and that maps the content of 'db', thanks to one or more Adapter s. |
Function Details |
---|
adapt_schema(db, target_schema)Returns a database using the specified 'target_schema', and that maps the content of 'db', thanks to one or moreAdapter s. If no suitable adapter can be
found, will raise an AdaptError()
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Sep 24 23:52:43 2006 | http://epydoc.sf.net |