Summary
-------
The `folder` cube allows to create a tree of categories and classify entities
as you're used to do in a file-system.
Usage
-----
Define the relation `filed_under` in the schema, object must
contain all entities which can be classified in a folder.
.. sourcecode:: python
class missing_filed_under(RelationDefinition):
name = 'filed_under'
subject = ('ExtProject', 'Project', 'Card', 'File')
object = 'Folder'
The `FoldersBox` shows the folders hierarchy as a tree view. It's not visible by
default (user can activate it using their preferences) but you can activate it
by default using the code snippet below:
.. sourcecode:: python
from cubicweb_folder.views import FoldersBox
# make the folders box visible by default
FoldersBox.visible = True
Raw data
{
"_id": null,
"home_page": "http://www.cubicweb.org/project/cubicweb-folder",
"name": "cubicweb-folder",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Logilab",
"author_email": "contact@logilab.fr",
"download_url": "https://files.pythonhosted.org/packages/73/58/582aeadfc457a463e2510d4ee63159d8e41f52fb5719e0a3d2a4923fa336/cubicweb-folder-3.0.0.tar.gz",
"platform": null,
"description": "Summary\n-------\nThe `folder` cube allows to create a tree of categories and classify entities\nas you're used to do in a file-system.\n\nUsage\n-----\n\nDefine the relation `filed_under` in the schema, object must\ncontain all entities which can be classified in a folder.\n\n.. sourcecode:: python\n\n class missing_filed_under(RelationDefinition):\n name = 'filed_under'\n subject = ('ExtProject', 'Project', 'Card', 'File')\n object = 'Folder'\n\n\nThe `FoldersBox` shows the folders hierarchy as a tree view. It's not visible by\ndefault (user can activate it using their preferences) but you can activate it\nby default using the code snippet below:\n\n.. sourcecode:: python\n\n from cubicweb_folder.views import FoldersBox\n # make the folders box visible by default\n FoldersBox.visible = True\n",
"bugtrack_url": null,
"license": "LGPL",
"summary": "folder component for the CubicWeb framework",
"version": "3.0.0",
"project_urls": {
"Homepage": "http://www.cubicweb.org/project/cubicweb-folder"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bd7a3ba1da4a933362883c01fda443f6e51cfb4fc4ef73e3e736fcb88b80f721",
"md5": "df54582e5d8dcc9c19b48c7923b3b38a",
"sha256": "c134e764b011550091c1583b0fc382c6e8b453be2eea4333911ddaf56ff64f26"
},
"downloads": -1,
"filename": "cubicweb_folder-3.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "df54582e5d8dcc9c19b48c7923b3b38a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 11819,
"upload_time": "2023-07-06T14:59:23",
"upload_time_iso_8601": "2023-07-06T14:59:23.439641Z",
"url": "https://files.pythonhosted.org/packages/bd/7a/3ba1da4a933362883c01fda443f6e51cfb4fc4ef73e3e736fcb88b80f721/cubicweb_folder-3.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7358582aeadfc457a463e2510d4ee63159d8e41f52fb5719e0a3d2a4923fa336",
"md5": "c8ff503f2664d24242a5b93b1bdf3921",
"sha256": "863c47ce915d9accc0b1491bbbc8c0ae71f07714ba697225347c8b4a702f04ee"
},
"downloads": -1,
"filename": "cubicweb-folder-3.0.0.tar.gz",
"has_sig": false,
"md5_digest": "c8ff503f2664d24242a5b93b1bdf3921",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11992,
"upload_time": "2023-07-06T14:59:26",
"upload_time_iso_8601": "2023-07-06T14:59:26.648446Z",
"url": "https://files.pythonhosted.org/packages/73/58/582aeadfc457a463e2510d4ee63159d8e41f52fb5719e0a3d2a4923fa336/cubicweb-folder-3.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-06 14:59:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "cubicweb-folder"
}