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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyldapi-2.0.5-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pyldapi-2.0.5.tar.gz
Algorithm Hash digest
SHA256 0485371a8ce5da934c40dc7a7eb1b0d956beaaafbe60f588e88e1a73291abb07
MD5 855ffee833ed2a60301c8c9f46a2daa9
BLAKE2b-256 4fe8e35be1b0cdc22d676721fbf1e22ecc45f2225aa2554a16fbda6249c2e6f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyldapi-2.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 403663132b2496740ea2d01ffb238e07add2eb88c12624d3c82f0b87b4619b9d
MD5 41d115aa50dccb42d40b124f8e9de49b
BLAKE2b-256 33e2b54bef6ada38796b18ac23442344150fc428651af4febb222e728603c76c

See more details on using hashes here.

Supported by

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