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

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.2.21.tar.gz (27.2 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.2.21-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oarepo-runtime-1.2.21.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for oarepo-runtime-1.2.21.tar.gz
Algorithm Hash digest
SHA256 c654481e44a09077cfad12ce9c5caff1ce0263c555b5a652d5ad4e3959a35c83
MD5 9b1e321ad055e78bd54a8fec3303b76a
BLAKE2b-256 1ada4ba17b3e85789701dbda15aaacee051faecdcbb2ea2e66ae00044ac3e571

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_runtime-1.2.21-py3-none-any.whl
Algorithm Hash digest
SHA256 0d4178e5769db5038fc8d81d763a61dfc9111cbd3e1c200e9ba264cceb0c0255
MD5 643e5784274aa9a9d7e3893d8f6cec87
BLAKE2b-256 d2a9e8a7bbbaaaefd82fa9bd0995824da05525f6ae98aaed5c82f82abc6b5f28

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