SPARQL endpoint for the DTDesign project.

Joeri Exelmans 2b80b69e20 Changed dependency versions to those in nixpkgs. vor 2 Jahren
data 07246dc30c Call module instead of uvicorn in docker container vor 2 Jahren
docs 3c3d741781 Create releng boilerplate vor 2 Jahren
spendpoint 2dcedb93f3 Update changelog version 0.4.0 vor 2 Jahren
tests 2383075958 Create conversion service vor 2 Jahren
.dockerignore 3c3d741781 Create releng boilerplate vor 2 Jahren
.editorconfig 3c5a8f43bf Update requirements vor 2 Jahren
.gitignore c8eeedbedd Add .idea to list of ignored files vor 2 Jahren
.gitlab-ci.yml c22b8473e4 Make CI more flexible vor 2 Jahren
AUTHORS.rst 3c3d741781 Create releng boilerplate vor 2 Jahren
Dockerfile 07246dc30c Call module instead of uvicorn in docker container vor 2 Jahren
HISTORY.rst c50e261fab Update History vor 2 Jahren
LICENSE 3c3d741781 Create releng boilerplate vor 2 Jahren
README.rst fcb15dbf2b Expand README vor 2 Jahren
flake.lock 2b80b69e20 Changed dependency versions to those in nixpkgs. vor 2 Jahren
flake.nix 3c5a8f43bf Update requirements vor 2 Jahren
pyproject.toml 2b80b69e20 Changed dependency versions to those in nixpkgs. vor 2 Jahren
requirements.txt 3c5a8f43bf Update requirements vor 2 Jahren
tasks.py e3c3cc778c Create configuration file vor 2 Jahren

README.rst

##########
SpEndPoint
##########

Creates a SPARQL endpoint supporting custom services.
The default access point is at `http://127.0.0.1:8000`.
This endpoint can be configured in the `configuration.toml `_ file.
The docker image created uses uvicorn the host the application at `0.0.0.0:80`. Feel free to map this to any port of your liking.

We currently support 3 services out of the box:

.. code-block::

dtf:outlier
dtf:example
dtf:conversion

The outlier service relies on `another endpoint `_ which needs to be set up and accessible.

Installation
------------

..
.. code-block:: shell

pip install spendpoint

or

.. code-block:: shell

pip install --index-url https://pip:glpat-m8mNfhxZAUnWvy7rLS1x@git.rys.one/api/v4/projects/262/packages/pypi/simple --no-deps spendpoint

Configuration
-------------

A configuration file at `configuration.toml `_ holds all user configurable data.
You can set the `host` and `port` the server will listen on.
A more advanced use is to import extra services.
These services need to be defined in the `service.py` file as well.