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.9.tar.gz (23.6 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.9-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oarepo-runtime-1.2.9.tar.gz
Algorithm Hash digest
SHA256 eacc5c536b7761caab541968c2a3558e0b4677ef093d82bed49f696c154f9f7f
MD5 dfc15c1a5c52ef5dca65746aac7e3fad
BLAKE2b-256 4f623e8e2e0a8b93184437084b6d1e063f3f668c1d63b8cb6d50a4265d60b92e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oarepo_runtime-1.2.9-py3-none-any.whl
  • Upload date:
  • Size: 35.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for oarepo_runtime-1.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 471b4ad9620b3ae59aed1947c31769815a5cd5e1328458f66823ecf7c2c349c4
MD5 7e6c0b12e4a417cbec44de4ab23268b2
BLAKE2b-256 605db14db9f5c39f3444aed4698373b46090e8ed49f73cd632a0902287ebaf19

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