Skip to main content

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

Project description

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

How to use

This module contains only a single Python file with a few static methods and classes that are indented to be added to a Flask API in order to add a series of extra functions to endpoints that the API delivers. It will also require the addition of one API endpoint - a ‘Register of Registers’ (see below) - if it is not already present.

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 view s for each item

  • a Register of Registers
    • a start-up function that auto-generated 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: 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 a register that lists all other registers that an API provides

License

This repository is licensed under GNU General Public License (GPL) v3.0. See the [LICENSE deed](LICENSE) in this repository for details.

Contacts

Developer and Point of Contact:
Nicholas Car
Senior Experimental Scientist
CSIRO Land & Water

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.0.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

pyldapi-2.0.1-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyldapi-2.0.1.tar.gz.

File metadata

  • Download URL: pyldapi-2.0.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyldapi-2.0.1.tar.gz
Algorithm Hash digest
SHA256 f08fe341ba606a7ffc7481f2c1c777789a0dde91aecf650d01af3b6a2ebb3035
MD5 fd37cde97ea746b0775b86112c717d42
BLAKE2b-256 cc9861ce97dc40470bb523124856aa05e7b85e1365f1712d14ba6642fb62f593

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyldapi-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 37d925f719f53302ca827a636f597de7a70c08d23af31b4c0cd049e5a012677f
MD5 de129aa0a4590762b85e415e9c526f4d
BLAKE2b-256 493bbe1b5753c2963f0dfa3cd6dfc58fda764cc1df5acf2df10063fdee6b55d9

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