{ "info": { "author": "Zope Corporation and Contributors", "author_email": "zope-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP" ], "description": "This package was designed to be a light-weight and easy-to-use static tree\nimplementation. It allows the developer to quickly create trees with nodes\nthat can be opened and closed without the use of JavaScript. The tree state\ncan be retained over multiple sessions.\n\n\n==========\n ZopeTree\n==========\n\n\nWhat is ZopeTree?\n=================\n\nZopeTree is a port of Philipp's Zope2 product ZopeTree. ZopeTree was\nmeant to be a light-weight and easy-to-use static tree implementation,\nmainly designed for use in ZPTs. It was originally written because\nZope2's `ZTUtils.Tree` was found to be too complicated and inflexible.\n\nThe `ZTUtils` package has not been ported to Zope3. Parts of it, like\nbatching, have found their way into Zope3, though. Only support for\nstatic tree generation is not in the core.\n\n\nHow to use it\n=============\n\nUsing the skin\n--------------\n\nZopeTree comes with a pre-defined skin, StaticTree. It looks just\nlike Zope3's default skin, Rotterdam, except that it displays a static\ntree in the navigation box instead of the Javascript/XML based dynamic\ntree.\n\nUsing predefined views on objects\n---------------------------------\n\nZopeTree comes with several predefined views:\n\n`cookie_tree`\n simple view using cookies for tree state storage.\n\n`folder_cookie_tree`\n same as above, however only showing folders.\n\n`site_cookie_tree`\n same as above, with the nearest site as root node.\n\n`root_cookie_tree`\n same as above, with the root container as root node.\n\nThe example page template(s) in the browser package give an idea how\nto use these views for HTML templating.\n\nCustomization\n=============\n\nThe best way to customize ZopeTree is to define your own view for\nobjects (usually '*'). If you want to use the cookie functionality,\nsimply extend the cookie browser view::\n\n from zope.app.tree.filters import OnlyInterfacesFilter\n from zope.app.tree.browser.cookie import CookieTreeView\n\n class BendableStaticTreeView(StaticTreeView):\n\n def bendablesTree(self):\n # tree with only IBendables, but also show the folder\n # they're in\n filter = OnlyInterfacesFilter(IBendable, IFolder)\n return self.cookieTree(filter)\n\nYou can also write your own filters. All you have to do is implement\nthe IObjectFindFilter interface (which is trivial)::\n\n from zope.interface import implements\n from zope.app.interfaces.find import IObjectFindFilter\n\n class BendableFilter:\n implements(IObjectFindFilter)\n\n def matches(self, obj)\n # only allow bendable objects\n return obj.isBendable()\n\n\nLicense and Copyright\n=====================\n\nThis product is released under the terms of the `Zope Public License\n(ZPL) v2.1`__. See the `ZopePublicLicense.txt` file at the root of your\nZope distribution.\n\nCopyright (c) 2003 Philipp \"philiKON\" von Weitershausen\nCopyright (c) 2004 Zope Corporation and Contributors\n\n.. __: http://www.zope.org/Resources/ZPL/ZPL-2.1\n\n\nCredits\n=======\n\nThanks to ZopeMag (http://zopemag.com) for sponsoring development of\nthe original ZopeTree product.\n\nThanks to Runyaga LLC (http://runyaga.com) for sponsoring the Zope3\nport.\n\n\n=========\n CHANGES\n=========\n\n4.0.0 (2017-05-16)\n==================\n\n- Add support for Python 3.4, 3.5, 3.6 and PyPy.\n\n- Fix #264614: Test for node filter didn't do what it was expected to do.\n\n- Import ISite from zope.component after it was moved there from\n zope.location.\n\n3.6.0 (2009-02-01)\n==================\n\n- Converted from using zope.app.container to zope.container.\n\n3.5.1 (2009-01-29)\n==================\n\n- Add compatibility for newer zope.traversing releases that require us\n to explicitly set up testing. This also works with older releases.\n\n3.5.0 (2009-01-17)\n==================\n\n- Get rid of zope.app.zapi dependency, replacing its uses with\n direct imports.\n\n- Clean up dependencies, move testing and rotterdam dependencies\n to extra requires.\n\n- Fix mailing list address to zope-dev@zope.org instead of retired\n zope3-dev@zope.org. Change `cheeseshop` to `pypi` in the package\n url.\n\n- Replace __used_for__ in adapters.py with zope.component.adapts\n calls to make more sense.\n\n- Remove obsolete zpkg files, zcml include file for mkzopeinstance-based\n installations, versions.txt that makes no sense now.\n\n3.4.0 (2007-10-28)\n==================\n\n- Initial release independent of the main Zope tree.\n\nv1.2 (2004-02-19) -- 'Scruffy'\n==============================\n\n- Moved to `zope.app.tree`\n\n- It is now called 'ZopeTree' again. Hoorray!\n\n- Refactored browser stuff into its own browser subpackage.\n\n- Separated the handling of tree state from the cookie functionality\n to provide a base class for views based on other tree state sources.\n\nv1.1 (2004-02-16) -- 'Zapp'\n===========================\n\n- Added support for displaying lines in a tree (Stephan Richter)\n\n - Changes in `Node.getFlatDict()` to provide more data. Removed\n 'depth' from node info, but added 'row-state' and\n 'last-level-node'. Changed interface and test accordingly.\n\n - Updated templates for `StaticTree` skin and example. Note that\n third party templates from 1.0.x will not work anymore and must be\n updated as well!\n\nv1.0.1 (2004-01-16) -- 'Nibbler'\n================================\n\n- Added last remaining pieces for unit tests\n\n- Updated documentation\n\n- Rounded some rough edges in the skin\n\n- Integrated it into the Zope3 distribution below the `zope.products`\n package\n\nv1.0 (2003-11-24) -- 'Lur'\n==========================\n\n- Ported to Zope 3\n\n- Renamed it to 'statictree'\n\n- Much more unit tests\n\n- Added filter functionality\n\n- Provided sample implementations as well as an alternate\n rotterdam-like skin using the static tree", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/zopefoundation/zope.app.tree", "keywords": "zope3 tree static zpt", "license": "ZPL 2.1", "maintainer": "", "maintainer_email": "", "name": "zope.app.tree", "package_url": "https://pypi.org/project/zope.app.tree/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zope.app.tree/", "project_urls": { "Homepage": "http://github.com/zopefoundation/zope.app.tree" }, "release_url": "https://pypi.org/project/zope.app.tree/4.0.0/", "requires_dist": [ "setuptools", "zope.component", "zope.container", "zope.interface", "zope.location", "zope.publisher", "zope.schema", "zope.security", "zope.traversing", "zope.app.rotterdam; extra == 'skin'", "zope.app.rotterdam; extra == 'test'", "zope.browserpage; extra == 'test'", "zope.browserresource; extra == 'test'", "zope.configuration; extra == 'test'", "zope.security; extra == 'test'", "zope.testing; extra == 'test'", "zope.testrunner; extra == 'test'" ], "requires_python": "", "summary": "Static Tree Implementation", "version": "4.0.0" }, "last_serial": 2877903, "releases": { "3.4.0": [ { "comment_text": "", "digests": { "md5": "cc779285d71030c53c2fade076a2ecca", "sha256": "f3608dc10865cc41f51432a5ddee12d2d71205ad042e91c7e4475864210f74ba" }, "downloads": -1, "filename": "zope.app.tree-3.4.0.tar.gz", "has_sig": false, "md5_digest": "cc779285d71030c53c2fade076a2ecca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19054, "upload_time": "2007-10-28T15:12:31", "url": "https://files.pythonhosted.org/packages/f1/e1/1ab371fd37349c3b3e33d9ddf2dff65d4d82c9703a2d94c7f8317c9c3980/zope.app.tree-3.4.0.tar.gz" } ], "3.4.0a1": [ { "comment_text": "", "digests": { "md5": "1ea83cd32af15acd1a25e344e7c946df", "sha256": "6dcf8240efbf2c4bd069ab93146019d6ca9611f77e30bf7a6ca7a276e7472417" }, "downloads": -1, "filename": "zope.app.tree-3.4.0a1.tar.gz", "has_sig": false, "md5_digest": "1ea83cd32af15acd1a25e344e7c946df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17544, "upload_time": "2007-04-23T13:32:52", "url": "https://files.pythonhosted.org/packages/89/54/1031172f9f2dbfb4025d9edcc6cd8b6081256268c7fa604e7a71200529fb/zope.app.tree-3.4.0a1.tar.gz" } ], "3.5.0": [ { "comment_text": "", "digests": { "md5": "d2c6cf84a87e8073c8352e04d2b39c3d", "sha256": "b846e9e3e2dff25c85836dd74cc6ab592e7b37b17a2c43c399da9d99e74c346d" }, "downloads": -1, "filename": "zope.app.tree-3.5.0.tar.gz", "has_sig": false, "md5_digest": "d2c6cf84a87e8073c8352e04d2b39c3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19277, "upload_time": "2009-01-17T16:40:50", "url": "https://files.pythonhosted.org/packages/fe/c4/61c5013b5df3861a5774025a26a20c8c6f60b9ece067ab84bfde52f0060a/zope.app.tree-3.5.0.tar.gz" } ], "3.5.1": [ { "comment_text": "", "digests": { "md5": "f22704f47768b1b3e7bf39d9ba1a60d9", "sha256": "00cf6a40a269a0f20ff4d11ebda3be0edeed473462e104ab41b93a95aff46666" }, "downloads": -1, "filename": "zope.app.tree-3.5.1.tar.gz", "has_sig": false, "md5_digest": "f22704f47768b1b3e7bf39d9ba1a60d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19817, "upload_time": "2009-01-29T14:46:02", "url": "https://files.pythonhosted.org/packages/14/66/2c47d4726a0a203db443305af71be117674f34a96181a316ed2ff81ac977/zope.app.tree-3.5.1.tar.gz" } ], "3.6.0": [ { "comment_text": "", "digests": { "md5": "fbde3403c682bc7cf7b73d43cd2eed3a", "sha256": "99ebdf2bf1a3e16cbb294e3d29fcfbd5d07dfbb4481d6f3b38ed3363f36ac57c" }, "downloads": -1, "filename": "zope.app.tree-3.6.0.tar.gz", "has_sig": false, "md5_digest": "fbde3403c682bc7cf7b73d43cd2eed3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19876, "upload_time": "2009-02-01T19:28:54", "url": "https://files.pythonhosted.org/packages/15/b5/757c1e21b4b1b7ca5be47a5fae403462ce395de8366b1a88130795a2d1a8/zope.app.tree-3.6.0.tar.gz" } ], "4.0.0": [ { "comment_text": "", "digests": { "md5": "8449d5b665b3edcc72d8f7f648b51f91", "sha256": "ee551f6f77b57ce045a1df0847ed871e2b3d979dedffb1d1daddcab0e7bd8f94" }, "downloads": -1, "filename": "zope.app.tree-4.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8449d5b665b3edcc72d8f7f648b51f91", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 37007, "upload_time": "2017-05-16T11:54:23", "url": "https://files.pythonhosted.org/packages/e6/c7/eccaa1d8e53dc35347f02b318dd7c8f1a418839faddcd92ad5bddb527c1a/zope.app.tree-4.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1643d4f37598cfe1c40883b38d2d79c3", "sha256": "182ba888879c9cf00f00b467499646e6bf273d32a34b9702d69b10fa28b3e40a" }, "downloads": -1, "filename": "zope.app.tree-4.0.0.tar.gz", "has_sig": false, "md5_digest": "1643d4f37598cfe1c40883b38d2d79c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23686, "upload_time": "2017-05-16T11:54:25", "url": "https://files.pythonhosted.org/packages/18/9c/256d0478932e4cab9d43d5a9f61d2e9b6ae07e87a36a9ad72c3e2e981998/zope.app.tree-4.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8449d5b665b3edcc72d8f7f648b51f91", "sha256": "ee551f6f77b57ce045a1df0847ed871e2b3d979dedffb1d1daddcab0e7bd8f94" }, "downloads": -1, "filename": "zope.app.tree-4.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8449d5b665b3edcc72d8f7f648b51f91", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 37007, "upload_time": "2017-05-16T11:54:23", "url": "https://files.pythonhosted.org/packages/e6/c7/eccaa1d8e53dc35347f02b318dd7c8f1a418839faddcd92ad5bddb527c1a/zope.app.tree-4.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1643d4f37598cfe1c40883b38d2d79c3", "sha256": "182ba888879c9cf00f00b467499646e6bf273d32a34b9702d69b10fa28b3e40a" }, "downloads": -1, "filename": "zope.app.tree-4.0.0.tar.gz", "has_sig": false, "md5_digest": "1643d4f37598cfe1c40883b38d2d79c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23686, "upload_time": "2017-05-16T11:54:25", "url": "https://files.pythonhosted.org/packages/18/9c/256d0478932e4cab9d43d5a9f61d2e9b6ae07e87a36a9ad72c3e2e981998/zope.app.tree-4.0.0.tar.gz" } ] }