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-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2a54301802ed597dee692bb3f6b06b6d28a9132286c8e2abe44034f0c6e5f52 |
|
MD5 | e4641edb0da652751da39fe78e3bcc7d |
|
BLAKE2b-256 | 1e5e59b4ac9ac70acf9a0f04780530a3164be65179a15782e9cceba16e53056e |