Skip to main content

Collection of Linked Data modules used by the Cultural Heritage Agency of the Netherlands.

Project description

pyrcelib

Library of Python modules related to Linked Data used by the Cultural Heritage Agency of The Netherlands (RCE). The uritools module contains a number of methods relating to URI definition and API access.

get_term_uri_from_cht(term_label: str)

returns a URI for a provided term, if found.

get_memorix_uri_from_reference(ref: str)

returns relevant memorix URI based on reproduction reference from Adlib.

get_object_uri(base_uri: str, obj_id: str, obj_type=SDO.Thing)

return URI for a given base URI, object ID, and object type according to RCE URI strategy.

get_organization(org_uri: str, name: str, same_as_uri: str, c_name: str, c_email: str, isil: str, altname: str)

returns a graph containing an organization description according to the AP-DCAT-NL.

get_logstring_from_shacl(targetgraph: Graph, validationgraph: Graph, subject_node: Node)

returns a string for nice logging of SHACL validation.

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

pyrcelib-2026.0.7.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

pyrcelib-2026.0.7-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file pyrcelib-2026.0.7.tar.gz.

File metadata

  • Download URL: pyrcelib-2026.0.7.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pyrcelib-2026.0.7.tar.gz
Algorithm Hash digest
SHA256 0690d63506fd80c488c4ea1e7428de54f8549305dc9bef0db7f849081397dbf1
MD5 1ec01e8f103742632cb93d1b94f5720c
BLAKE2b-256 2f3a86b4ea440cb244b39d8a0d9e4f0d5e143832031a87c869a251faaa06afa8

See more details on using hashes here.

File details

Details for the file pyrcelib-2026.0.7-py3-none-any.whl.

File metadata

  • Download URL: pyrcelib-2026.0.7-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pyrcelib-2026.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ae06f565a78f23808ff3ab069e0186117a60e2ec616e248f4254eb9cee43ac04
MD5 6aa4dbbc7a1ece69e900e260fab8fd3d
BLAKE2b-256 56484c9683bc738c40cac5663f1e37d4bee236696a6f6575a6d6b896d01f01c6

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