classification schemes system for the Cubicweb framework
Project description
The keyword cube provides classification by using hierarchies of keywords to classify content.
Each classification is represented using a Classification entity, which will hold a keywords tree.
There is two types of keywords:
Keyword which contains a description,
CodeKeyword which contains the keyword description and the associated code.
- In order to link an entity to a keyword, you have to add a relation
applied_to in the schema.
Each keyword has the subkeyword_of relation definition. This allows to navigate in the classification without a Modified Preorder Tree Traversal representation of the data.
Some methods are defined in order to get parents and children or get the status of a keyword (leaf or root).
See also cubicweb-tag as another (simpler) way to classify content.
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
Hashes for cubicweb_keyword-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4647a0461d5b3c1c9a4bc1eb3b9fd0e36cfcc3439f980cc4d4f5665d1a635b |
|
MD5 | af9052ae852a14b286753892a82cecc2 |
|
BLAKE2b-256 | b6c622d618b92c6974cb34c9abf0424f896c51bb8b19b6debf83de9164307a44 |