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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file humfrey-0.3.9.tar.gz
.
File metadata
- Download URL: humfrey-0.3.9.tar.gz
- Upload date:
- Size: 136.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c653f11af6dd08578770dc95c4995dbbd2cd6a04ce7a6481f3269b885186d7 |
|
MD5 | 6b89cf27af2c2303536ae9ed27168967 |
|
BLAKE2b-256 | 142bbb92164a1aac9de075b9ce341d59940f49d4015943dc0a9099bfc50667f8 |