Skip to main content

A set of runtime extensions of Invenio repository

Project description

OARepo runtime

The base of invenio oarepo client and a set of classes/functions that help with code-generated features:

Custom fields

Provides support for custom fields identification and iteration and invenio oarepo cf init initialization tool for customfields.

Expansions

Provides expandable field implementation and service mixin for referenced record (in case you do not want to use relations).

Facets

An implementation of nested labeled facet.

i18n

Validator for language codes.

Relations

Replacement of Invenio relations. Fixes the following issues:

  1. Invenio relations can occur only on specific paths and for each pattern, different class must be used (Relation, ListRelation, NestedListRelation)
  2. PID Cache is isolated per request, not set directly on field
  3. Allows to map keys - A key from related object can be renamed/remapped to a different key/path
  4. Provides classes to reference parts of the same record
# article, id 12
metadata:
    title: blah

with mapping referenced article would look like (mapping: {key: 'metadata.title', target: 'title'}):

# dataset:
metadata:
    articles:
    - id: 12
      @v: 1
      title: blah

With Invenio PID relation, it would be:

# dataset:
metadata:
    articles:
    - id: 12
      "@v": 1
      metadata:
        title: blah

Validation

This module provides a marshmallow validator for date strings.

Config

Provides interface and definitions for loading preconfigured permission sets to service config.

Project details


Release history Release notifications | RSS feed

This version

1.4.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oarepo-runtime-1.4.4.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

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

oarepo_runtime-1.4.4-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

File details

Details for the file oarepo-runtime-1.4.4.tar.gz.

File metadata

  • Download URL: oarepo-runtime-1.4.4.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for oarepo-runtime-1.4.4.tar.gz
Algorithm Hash digest
SHA256 58b975c6049367801bdb44217dbafa3f19e6e151e549f29816eab99dbab6c26e
MD5 34bd5751ca44874150dd17c4c0bc3470
BLAKE2b-256 5cc898496b87f0432a14149bf5c2e45f0e6e466f2ef8975d76d1c21ef33f4cb3

See more details on using hashes here.

File details

Details for the file oarepo_runtime-1.4.4-py3-none-any.whl.

File metadata

  • Download URL: oarepo_runtime-1.4.4-py3-none-any.whl
  • Upload date:
  • Size: 61.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for oarepo_runtime-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8457a21bc653f142d2a5f7bceb40f9b2a8d2f0ae5f855fdb7e20189a5a6332c7
MD5 b22cb3e43677a47e9b351b86157e7a18
BLAKE2b-256 67391a04251ae51aaf3855cf8a1fd32c35c430d3288acc67fce4598841cab3eb

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