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:
- Invenio relations can occur only on specific paths and for each pattern, different class must be used (Relation, ListRelation, NestedListRelation)
- PID Cache is isolated per request, not set directly on field
- Allows to map keys - A key from related object can be renamed/remapped to a different key/path
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oarepo-runtime-1.3.13.tar.gz.
File metadata
- Download URL: oarepo-runtime-1.3.13.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb6aebe346615a37b0c0a4ed7e8e0f81f3535bffd07ea56652f18d2d8484f6e0
|
|
| MD5 |
259c6842273fecc92a23dc65cd3e55f8
|
|
| BLAKE2b-256 |
143bc86fc8a91500494be38b79ef0c72e2e893b68c28b070bdf7742abbdabf34
|
File details
Details for the file oarepo_runtime-1.3.13-py3-none-any.whl.
File metadata
- Download URL: oarepo_runtime-1.3.13-py3-none-any.whl
- Upload date:
- Size: 51.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d23e61b71f06a78d268693444586de24613b1c70925c260f40464a83edaed3a
|
|
| MD5 |
41ddcb309bad6284a92df1bbd7f81583
|
|
| BLAKE2b-256 |
c276dc01fdf2ec2f240b32008309463daed5fa18ab6034bb7a51124ffa41fdea
|