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.4.0.tar.gz (513.4 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.4.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oold-0.4.0.tar.gz
Algorithm Hash digest
SHA256 61d5cc5035079f981ab28e0ee4214eb45fe45b4ce9aacae4413f9dde7afc9741
MD5 bf8a70ff524ac075b80161eac06faebd
BLAKE2b-256 4d8c6d889cbeb74a6835ea88b6a71ae9b88bef0d6aebee2b8ca9f81e38c687ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oold-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 22.2 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c98f75ee52f4001fb3a791b2860fc730154bb46cfefa74c17ea02a93e551434b
MD5 3695c7e93203e94b87095a97712cfb79
BLAKE2b-256 5804f7e4fb079071c1f83951babdf4a6718567516cba75ead21aff39ea53c0fb

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