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.


  • Serialization to HTML, RDF, JSON, CSV.

  • Template selection based on rdf:types.

  • Semantic pingback

  • SPARQL rate-limiting


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,, and 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 test --settings=humfrey.tests.settings

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

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

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


  • 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