Skip to main content

pyRdfa Libray

Project description

pyRdfa distiller/parser library. The distribution contains:

  • ./pyRdfa: the Python library. You should copy the directory somewhere into your PYTHONPATH. Alternatively, you can also run the

    python setup.py install

    script in the directory.

  • ./scripts/RDFa.py: can be used as a CGI script to invoke the library. It has to be adapted to the local server setup, namely in setting the right paths

  • ./scripts/localRdfa.py: script that can be run locally on to transform a file into RDF (on the standard output). Run the script with “-h” to get the available flags.

  • ./doc: (epydoc) documentation of the classes and functions

  • httpheader.py: the small, but excellent module of Deron Meranda; should be put somewhere into PYTHONPATH (done by the install script).

The package depends on RDFLib<http://rdflib.net> and, if the HTML5 (or ‘lax’) parsing is used, html5lib<http://code.google.com/p/html5lib/>. The package has been tested on Python version 2.4 and higher.

For the details on RDFa, see:

http://www.w3.org/TR/rdfa-syntax

Project details


Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page