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.
Release files for cubicweb-keyword 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cubicweb-keyword-4.0.0.tar.gz | 125.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cubicweb_keyword-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 195.7 kB
Release files / cubicweb-keyword-4.0.0.tar.gz
| Download URL | cubicweb-keyword-4.0.0.tar.gz |
|---|---|
| Size | 125.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d1cfda751c7e08a5a4c16fcc3ad73d77d9a76f4e7dd8517f01dc2db704b071d
|
|
BLAKE2b-256 checksum How to use checksums |
310725ad3488cb5095a280c980bee0e6171c2c40202438175c401d11baa48bc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / cubicweb_keyword-4.0.0-py3-none-any.whl
| Download URL | cubicweb_keyword-4.0.0-py3-none-any.whl |
|---|---|
| Size | 69.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5cbb0c696d267c188b28e60cd728ace9f4e4d1ac0fcfbe0b527fd7fb3b47b847
|
|
BLAKE2b-256 checksum How to use checksums |
5e99376757d48aa3b77cf870402cc150dece3a17a6ac43541a570639016b8733
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|