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.1.tar.gz
(23.9 kB
view hashes)
Built Distribution
Close
Hashes for oarepo-vocabularies-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 109a26d8afebf406833a1104739d75184249c7c7486de4c032b548edb1ec87be |
|
MD5 | 9f66879187191ed37da55f9b12fc0f8f |
|
BLAKE2b-256 | 95b37bc0cf32178dca485ba34f5f37dbc12c2a3d8af201cf93f13508782db3a9 |
Close
Hashes for oarepo_vocabularies-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96d99ef5a45c8a89eba574237a370cf8aca08fff2e1358046d2d27f4e5b0dfa8 |
|
MD5 | cc09b49d9360e484a882cc9b3d0437b5 |
|
BLAKE2b-256 | e195cc259cb55f5173d1d898cdc8d0b45db5d9c636cd1be93d90293149b69ac5 |