SPARQL endpoint for the DTDesign project.

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

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.