Skip to main content

Linked data class python package

Project description

DOI PyPI-Server Coveralls Project generated with PyScaffold

oold

Linked data class python package for object oriented linked data (OOLD). This package aims to implemment this functionality independent from the osw-python package - work in progress.

Concept

Concept

Illustrative example how the object orient linked data (OOLD) package provides an abstract knowledge graph (KG) interface. First (line 3) primary schemas (Foo) and their dependencies (Bar, Baz) are loaded from the KG and transformed into python dataclasses. Instantiation of foo is handled by loading the respective JSON(-LD) document from the KG and utilizing the type relation to the corresponding schema and dataclass (line 5). Because bar is not a dependent subobject of foo it is loaded on-demand on first access of the corresponding class attribute of foo (foo.bar in line 7), while id as dependent literal is loaded immediately in the same operation. In line 9 baz is constructed by an existing controller class subclassing Foo and finally stored as a new entity in the KG in line 11.

Dev

git clone https://github.com/OpenSemanticWorld/oold-python
pip install -e .[dev]

Note

This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.

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

oold-0.3.1.tar.gz (514.9 kB view details)

Uploaded Source

Built Distribution

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

oold-0.3.1-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file oold-0.3.1.tar.gz.

File metadata

  • Download URL: oold-0.3.1.tar.gz
  • Upload date:
  • Size: 514.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for oold-0.3.1.tar.gz
Algorithm Hash digest
SHA256 16599f0291101d743d8cdb88605b2508ff04447a33ff132e0d2b34ef4efeeb15
MD5 465fcde670ed919e078c81d3c6b4c4e8
BLAKE2b-256 9defd59d7921bb181ffef192bb7b4e0418de0687cfe04d0ef3208c4cfad5cb6f

See more details on using hashes here.

File details

Details for the file oold-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: oold-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for oold-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c341804e49f6b3eeb2cc9c80b95ca42e40ae5ae49c0a6a989c6e72cc3538fbe2
MD5 e74da5b6238251057250c1e9abde4e8e
BLAKE2b-256 56bfcda1bf8ac41235ec8159cf050ec101f0ee1b179076f5580cec453be80115

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