Home | Trees | Indices | Help |
|
---|
|
Library for parsing, displaying, querying and serializing DOAP
|
|||
int |
|
||
int |
|
||
None |
|
||
generator |
|
||
boolean |
|
||
Project |
|
||
string |
|
||
list |
|
||
|
|||
function |
|
||
|
|||
text |
|
|
|||
XMLRPC_SERVER = <ServerProxy for doapspace.org/xmlrpc/>
|
|||
DOAP_NS = rdflib.URIRef('http://usefulinc.com/ns/doap#')
|
|||
__warningregistry__ =
|
|
If there is a 'doap:Project homepage' it will be looked up on doapspace.org using get_by_homepage to find any other DOAP. This is useful if we're looking at FOAF and a project is mentioned by homepage. It can also be used on DOAP files to search for additional DOAP files about the same project.
|
If there is a 'doap:Project homepage' it will be looked up on doapspace.org using get_by_homepage to find any other DOAP. This is useful if we're looking at FOAF and a project is mentioned by homepage. It can also be used on DOAP files to search for additional DOAP files about the same project.
|
Given a list of homepage URLs, search for DOAP for each and print
|
Find all doap:homepage in RDF
|
Returns True if triplestore has the DOAP namespace defined
|
Load a DOAP profile into a RDFAlchemy/rdflib graph Supports any serialization format rdflib can parse (xml, n3, etc.)
|
Get DOAP for a package index project name Builtin indexes:
Note there can be other package indexes available by third party plugins.
|
Get list of URL's for DOAP given a project's homepage. The list can contain zero or multiple URLs. The return format is: [(source, URL), (source, URL)...] 'source' is the two letter package index abbreviation or 'ex' for external. 'external' meaning the DOAP was spidered on the web. Possible package indexes: Current indexes:
|
Print DOAP as text, xml, or n3 etc. or to stdout or a file A callable serializer object may be passed or a name of a serializer plugin.
|
Return a serializer instance given its name
|
Return plugin object if `method` exists
|
Fetch DOAP by its URL or filename
|
|
__warningregistry__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed May 21 14:16:54 2008 | http://epydoc.sourceforge.net |