Support for custom fields and hierarchy on Invenio vocabularies
Project description
OARepo vocabularies
This is an extension of invenio vocabularies that allows:
- Use the vocabularies with custom fields
- Treat vocabulary items as hierarchy
Installation
Add oarepo-runtime
, oarepo-vocabularies
to your virtualenv an set up the following in your invenio.cfg
:
from oarepo_vocabularies.services.config import VocabulariesConfig
from oarepo_vocabularies.resources.config import VocabulariesResourceConfig
VOCABULARIES_SERVICE_CONFIG = VocabulariesConfig
VOCABULARIES_RESOURCE_CONFIG = VocabulariesResourceConfig
Documentation
See NRP documentation for more details.
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-vocabularies-2.0.0.tar.gz
(23.4 kB
view hashes)
Built Distribution
Close
Hashes for oarepo-vocabularies-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b4b1fa7d1361dd3b3d8f4f49445ed68d85a0ce2db35bd8bace900b60dbbc01 |
|
MD5 | c4064b96d7a0a7b560bea6a4948f5d05 |
|
BLAKE2b-256 | 22f48f91ffa43d77078870cd52653c68bd050be714f7a4c24c8492424095c862 |
Close
Hashes for oarepo_vocabularies-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51439e307c09c3b792d697fe6c586e31d61d9035a69c3be7d5da13a991f59687 |
|
MD5 | e8f8fb2ef7cbb74d4e16611e48c5967c |
|
BLAKE2b-256 | c6a0c54c0d5ebffadaa962939b49e050b74ad17e153e5496dd8ce68391e8d3d1 |