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.3.tar.gz
(23.9 kB
view hashes)
Built Distribution
Close
Hashes for oarepo-vocabularies-2.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e3c4938c3a7d974297c2b5a088213903e8002819d4e0b8af5f2cdb40e1fa369 |
|
MD5 | 2868ca00d1575148cc78936a3b5368b1 |
|
BLAKE2b-256 | 624e980294a02cf50eb8fbb876400d9d7daada021d2cfe3109af443eb5f001ae |
Close
Hashes for oarepo_vocabularies-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce882dc39bd73dc54bfd4058b6b408b5513646693eca2e772aa749cc62d032a4 |
|
MD5 | c942ebdf445c60a1a8221269519bcb35 |
|
BLAKE2b-256 | f3dcc67e761d665851173dd48896813dd8a4bd561ad238e12d6fdb6ae8aa799d |