Metadata-Version: 2.1
Name: spendpoint
Version: 0.4.0
Summary: SPARQL endpoint for ontologies.
Keywords: spendpoint
Author-email: Arkadiusz Michał Ryś <Arkadiusz.Michal.Rys@gmail.com>
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Requires-Dist: toml~=0.10.2
Requires-Dist: arklog~=0.5.1
Requires-Dist: rdflib~=6.3.2
Requires-Dist: pandas~=2.0.1
Requires-Dist: dacite~=1.8.1
Requires-Dist: fastapi~=0.95.2
Requires-Dist: pyarrow~=12.0.0
Requires-Dist: requests~=2.30.0
Requires-Dist: starlette~=0.27
Requires-Dist: python-magic~=0.4.27
Requires-Dist: uvicorn[standard]~=0.22.0
Requires-Dist: tox~=4.5.1 ; extra == "dev"
Requires-Dist: pip~=23.1.2 ; extra == "dev"
Requires-Dist: flit~=3.9.0 ; extra == "dev"
Requires-Dist: twine~=4.0.2 ; extra == "dev"
Requires-Dist: numpy~=1.24.3 ; extra == "dev"
Requires-Dist: invoke~=2.1.2 ; extra == "dev"
Requires-Dist: jinja2~=3.1.2 ; extra == "dev"
Requires-Dist: flake8~=6.0.0 ; extra == "dev"
Requires-Dist: coverage~=7.2.5 ; extra == "dev"
Requires-Dist: sphinx~=7.0.1 ; extra == "doc"
Requires-Dist: pytest~=7.3.1 ; extra == "test"
Requires-Dist: sparqlwrapper~=2.0.0 ; extra == "test"
Project-URL: source, https://git.rys.one/dtdesign/spendpoint
Provides-Extra: dev
Provides-Extra: doc
Provides-Extra: test

##########
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 <data/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 <https://msdl.uantwerpen.be/git/lucasalbertins/DTDesign/src/main/tools/typeOperations>`_ 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 <data/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.

