Skip to main content

A very small module to add Linked Data API functionality to a Python Flask installation

Project description

The Python Linked Data API (pyLDAPI) is:

A very small module to add Linked Data API functionality to a Python Flask installation.

PyPI version

What is it?

This module contains only a small Python module which is intended to be added (imported) into a Python Flask installation in order to add a series of extra functions to endpoints to the ones defined by you as a Flask user (URL routes).

An API using this module will get:

  • an alternates view for each Register and Object that the API delivers
    • if the API declares the appropriate model views for each item

  • a Register of Registers
    • a start-up function that auto-generates a Register of Registers is run when the API is launched.

  • a basic, over-writeable template for Registers’ HTML & RDF

Definitions

Alternates View

The model view that lists all other views. This API uses the definition of alternates view presented at https://promsns.org/def/alt.

Linked Data Principles

The principles of making things available over the internet in both human and machine-readable forms. Codified by the World Wide Web Consortium. See https://www.w3.org/standards/semanticweb/data.

Model View

A set of properties of a Linked Data object codified according to a standard or profile of a standard.

Object

Any individual thing delivered according to Linked Data principles.

Register

A simple listing of URIs of objects, delivered according to Linked Data principles.

Register of Registers

A register that lists all other registers which this API provides.

pyLDAPI in action

Documentation

Detailed documentation can be found at https://pyldapi.readthedocs.io/

Licence

This is licensed under GNU General Public License (GPL) v3.0. See the LICENSE deed for more details.

Contact

Nicholas Car (lead)

Ashley Sommer (senior developer)

Informatics Software Engineer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyldapi-2.1.2.post5.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distributions

pyldapi-2.1.2.post5-py3-none-any.whl (27.6 kB view hashes)

Uploaded Python 3

pyldapi-2.1.2.post5-py2.py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page