SPARQL endpoint for the DTDesign project.

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

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.