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.3.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.3-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrcelib-2026.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 cfed0972dc93d02581bb109d4645980863cb74e229addd71dd4d95dfabcd66a6
MD5 9bffc6d8f31a1bd3a769f7a2d5fce54d
BLAKE2b-256 97d047b2c56c03e7646bea46c4eeab236fcd6d47bdc515ff794fe0453d55ef99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrcelib-2026.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1b76850a7258688b5722d5c39cf4667cdccff7cdb8885b3ef87e3ab5290de107
MD5 19abe2e260c19ddd85149fea8ad7ce4a
BLAKE2b-256 e5b8872f00a3097c959e0054cf4a4fd44cd5a4806e06054d8f11b016fecf6d10

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