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.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44a91ee01f67ebbdd3d75dd0a0164a23319ba8e3118390eb3f8830a6a9b4bf27 |
|
MD5 | 166941685c4a9fdfc83c35351c27e2cf |
|
BLAKE2b-256 | db38295a30c04601f5238f3da9bfd4257b68f9ab9f3f147ab82590545033d527 |