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.
Metadata
Release files for acdh-django-sparql 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acdh-django-sparql-0.0.1.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acdh_django_sparql-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / acdh-django-sparql-0.0.1.tar.gz
| Download URL | acdh-django-sparql-0.0.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36e3203d32c6b47d608e2b6918f0a7bd488f9e06405cb4139a327b25eca4b574
|
|
BLAKE2b-256 checksum How to use checksums |
05ff7d77ea3e0d14a201f7656718915048564d6a8807f8a2e103c1e02a3d7066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / acdh_django_sparql-0.0.1-py3-none-any.whl
| Download URL | acdh_django_sparql-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
beb6d5d4eaad57e543ce7db4406bcd3a19eb3f62e9cdc29b68d4540c0195fe26
|
|
BLAKE2b-256 checksum How to use checksums |
36faeeb066ecfc2a9e46d23f7e5a671c52b5ebf9e65723db59ceec5e6fe3883b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|