SPARQL endpoint for the DTDesign project.

Arkadiusz Ryś b521c63921 Change nix application back to package to propagate inputs hace 2 años
data 07246dc30c Call module instead of uvicorn in docker container hace 2 años
docs 3c3d741781 Create releng boilerplate hace 2 años
spendpoint 2dcedb93f3 Update changelog version 0.4.0 hace 2 años
tests 2383075958 Create conversion service hace 2 años
.dockerignore 3c3d741781 Create releng boilerplate hace 2 años
.editorconfig 3c5a8f43bf Update requirements hace 2 años
.gitignore a03c3bc75d Add nix launch script hace 2 años
.gitlab-ci.yml c22b8473e4 Make CI more flexible hace 2 años
AUTHORS.rst a03c3bc75d Add nix launch script hace 2 años
Dockerfile 07246dc30c Call module instead of uvicorn in docker container hace 2 años
HISTORY.rst c50e261fab Update History hace 2 años
LICENSE 3c3d741781 Create releng boilerplate hace 2 años
README.rst fcb15dbf2b Expand README hace 2 años
flake.lock 2b80b69e20 Changed dependency versions to those in nixpkgs. hace 2 años
flake.nix b521c63921 Change nix application back to package to propagate inputs hace 2 años
pyproject.toml a03c3bc75d Add nix launch script hace 2 años
requirements.txt 3c5a8f43bf Update requirements hace 2 años
tasks.py e3c3cc778c Create configuration file hace 2 años

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.