Skip to main content

Tools for working with Library.Link

Project description

# Library.Link Tools for processing data from the Library.Link project

Uche Ogbuji < uche@ogbuji.net >

# Install

Requires:

  • Python 3.4+

  • amara3-xml package

  • html5lib package

  • pytest (for running the test suite)

For the latter 3 you can do:

` pip install pytest amara3-xml html5lib `

# Use

## parse_rdfa

Command Tool to parse RDFa 1.1 Lite (from the Library.Link pages or other HTML). Example:

` parse_rdfa --rdfttl=foo.ttl "http://link.houstonlibrary.org/portal/Half-of-a-yellow-sun-Chimamanda-Ngozi/n7KqqbZFJuM/" `

Which outputs RDF Turtle to a file foo.ttl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

librarylink-0.3.0.tar.gz (8.5 kB view hashes)

Uploaded Source

Supported by

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