Skip to main content

Basic query interface and proxy for any common triple store.

Project description

https://badge.fury.io/py/acdh-django-sparql.svg

Django-App providing a query interface and proxy for any common Triplestore.

Quickstart

Install acdh-django-sparql:

pip install acdh-django-sparql

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'sparql',
    ...
)

Add django_sparql’s URL patterns:

urlpatterns = [
    ...
    url(r'^sparql/', include('sparql.urls', namespace='sparql')),
    ...
]

Provide the endpoint and optional some log-in credentials for your Triplestore in some settings file:

BG_URL = "https://path-to-your-triple-store/sparql"
BG_USER = "username"
BG_PW = "password"

browse to https://my-project/sparql/query/ to reach the query interface

Via the django-admin interface you can create sample queries.

Licensing

All code unless otherwise noted is licensed under the terms of the MIT License (MIT). Please refer to the file LICENSE in the root directory of this repository.

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

acdh-django-sparql-0.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

acdh_django_sparql-0.0.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file acdh-django-sparql-0.0.1.tar.gz.

File metadata

  • Download URL: acdh-django-sparql-0.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for acdh-django-sparql-0.0.1.tar.gz
Algorithm Hash digest
SHA256 36e3203d32c6b47d608e2b6918f0a7bd488f9e06405cb4139a327b25eca4b574
MD5 32479af3393c3afdd06b45eceb9bd22d
BLAKE2b-256 05ff7d77ea3e0d14a201f7656718915048564d6a8807f8a2e103c1e02a3d7066

See more details on using hashes here.

File details

Details for the file acdh_django_sparql-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: acdh_django_sparql-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for acdh_django_sparql-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 beb6d5d4eaad57e543ce7db4406bcd3a19eb3f62e9cdc29b68d4540c0195fe26
MD5 8c24fc882836d36a507c70cd22c5c3e4
BLAKE2b-256 36faeeb066ecfc2a9e46d23f7e5a671c52b5ebf9e65723db59ceec5e6fe3883b

See more details on using hashes here.

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