Skip to main content

A Django-based RESTful linked data frontend for SPARQL endpoints.

Project description

humfrey is a Django-based RESTful linked data interface to a SPARQL endpoint.

Features

  • Serialization to HTML, RDF, JSON, CSV.

  • Template selection based on rdf:types.

  • Semantic pingback

  • SPARQL rate-limiting

Using

humfrey provides a lot of the framework you need for producing a linked data site. You will need to produce a minimal Django project to pull it all together. Examples include data.ox.ac.uk, data.clarosnet.org, and opencitations.net. In due course we plan to provide a simple demonstration site that will run out of the box.

It requires a backing SPARQL endpoint to run queries against. The sites listed above use Fuseki, but it should work with any endpoint. If it doesn’t, raise an issue in the GitHub issue tracker.

You will also need running memcached and redis instances.

Running the test suite

In the root of the humfrey module run:

PYTHONPATH=.. python manage.py test --settings=humfrey.tests.settings

If using Jenkins, you can use tox or run the following:

PYTHONPATH=.. python manage.py jenkins --settings=humfrey.tests.settings

This will produce a bunch of reports using django_jenkins, which will turn up in a reports directory.

Requirements

  • memcached

  • redis

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

humfrey-0.3.9.tar.gz (136.8 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