{ "info": { "author": "andy fang", "author_email": "andy@mingtak.com.tw", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 5.0", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": ".. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.\r\n If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide_addons.html\r\n This text does not appear on pypi or github. It is a comment.\r\n\r\n==============================================================================\r\ncollective.api4tal\r\n==============================================================================\r\n\r\nPlone.api for TAL, use in pt file.\r\n\r\nThe plone.api is an elegant and simple API, built for humans wishing to develop with Plone.\r\n\r\nBut, at template file(*.pt), these useful functions can not be used directly, such as 'api.portal.get()'\r\n\r\nThrough browerview's design, so that these functions can be used on the pt file.\r\n\r\nFeatures\r\n--------\r\n\r\n- **@@portal_get** mapping to **api.portal.get()**\r\n- **@@user_get_current** mapping to **api.user.get_current()**\r\n- **@@user_is_anonymous** mapping to **api.user.is_anonymous()**\r\n\r\nExamples\r\n--------\r\n\r\nFor example, you can use **@@user_is_anonymous** at template, such as:\r\n\r\n
\r\n ...\r\n
\r\n\r\nor, you can use **@@portal_get** at template, such as:\r\n\r\n
\r\n ...\r\n
\r\n\r\nInstallation\r\n------------\r\n\r\nInstall collective.api4tal by adding it to your buildout::\r\n\r\n [buildout]\r\n\r\n ...\r\n\r\n eggs =\r\n collective.api4tal\r\n\r\nand then running \"bin/buildout\"\r\n\r\n\r\nContribute\r\n----------\r\n\r\n- Issue Tracker: https://github.com/collective/collective.api4tal/issues\r\n- Source Code: https://github.com/collective/collective.api4tal\r\n\r\n\r\nSupport\r\n-------\r\n\r\nIf you are having issues, please let us know.\r\nWe have a mailing list located at: andy@mingtak.com.tw\r\n\r\n\r\nLicense\r\n-------\r\n\r\nThe project is licensed under the GPLv2.\r\n\r\nContributors\r\n============\r\n\r\n- andy fang, andy@mingtak.com.tw\r\n\r\nChangelog\r\n=========\r\n\r\n\r\n0.1 (unreleased)\r\n----------------\r\n\r\n- Initial release.\r\n [mingtak]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/collective.api4tal", "keywords": "Python Plone", "license": "GPL version 2", "maintainer": "", "maintainer_email": "", "name": "collective.api4tal", "package_url": "https://pypi.org/project/collective.api4tal/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.api4tal/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/collective/collective.api4tal" }, "release_url": "https://pypi.org/project/collective.api4tal/0.1/", "requires_dist": null, "requires_python": null, "summary": "Plone.api for TAL, use in pt file", "version": "0.1" }, "last_serial": 1683498, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e8ff191c83cba09a22a38ca8262ba6fa", "sha256": "9645de42d36c7324ba5b6cb7355f883c4c0371f4ac8993c898d2bea3775d6d2e" }, "downloads": -1, "filename": "collective.api4tal-0.1.tar.gz", "has_sig": false, "md5_digest": "e8ff191c83cba09a22a38ca8262ba6fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9095, "upload_time": "2015-08-19T02:58:24", "url": "https://files.pythonhosted.org/packages/e7/25/77ab6538c2ffdbf9c31da2330c0b5812e9c23e887b4df5a74d1f6ce78438/collective.api4tal-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8ff191c83cba09a22a38ca8262ba6fa", "sha256": "9645de42d36c7324ba5b6cb7355f883c4c0371f4ac8993c898d2bea3775d6d2e" }, "downloads": -1, "filename": "collective.api4tal-0.1.tar.gz", "has_sig": false, "md5_digest": "e8ff191c83cba09a22a38ca8262ba6fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9095, "upload_time": "2015-08-19T02:58:24", "url": "https://files.pythonhosted.org/packages/e7/25/77ab6538c2ffdbf9c31da2330c0b5812e9c23e887b4df5a74d1f6ce78438/collective.api4tal-0.1.tar.gz" } ] }