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 details)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2 Python 3

File details

Details for the file pyldapi-2.1.2.post5.tar.gz.

File metadata

  • Download URL: pyldapi-2.1.2.post5.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for pyldapi-2.1.2.post5.tar.gz
Algorithm Hash digest
SHA256 ffb2f0794228103575327bb6a5429a6527e772369a01068ac4ac1c3a9ba524d6
MD5 cc86ff1e35e09c9d332b2c8ab7005467
BLAKE2b-256 1b05fb713219cc31ac159ec6a79c9f60df471b0e691651f266623cb98f86a47e

See more details on using hashes here.

File details

Details for the file pyldapi-2.1.2.post5-py3-none-any.whl.

File metadata

  • Download URL: pyldapi-2.1.2.post5-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for pyldapi-2.1.2.post5-py3-none-any.whl
Algorithm Hash digest
SHA256 ceff372392b8f85813a86dd4dfc564f8c391cad9a8ad8f1a0829b248aae3ea77
MD5 c2754357f23b4794ffd2e961422f231a
BLAKE2b-256 5f987efcc1a399c29641f0ab47250f7b1e85e3e0b851c0ba7eb4d3e9d782a9c8

See more details on using hashes here.

File details

Details for the file pyldapi-2.1.2.post5-py2.py3-none-any.whl.

File metadata

  • Download URL: pyldapi-2.1.2.post5-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

File hashes

Hashes for pyldapi-2.1.2.post5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 34e9cb2bf4e107525b719f5a38e7219fcb4caf716774ac59288a4fc43dfb7aef
MD5 a1b4756d1ab4016f62e2cbcec09fa446
BLAKE2b-256 007a29b40fb6e6eecff67eac0c317d0a9ebb33ba81496347411c40dfaac01282

See more details on using hashes here.

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