{ "info": { "author": "Jose Dinuncio", "author_email": "jose.dinuncio@vnc.biz", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "vnccollab.common\n================\n\nOverview\n--------\n\nvnccollab.common is a support package for vnccollab.* add-ons. It offers the\nfollowing features:\n\n* A convenience memoizer class based on last time access.\n* Keyword Search.\n* Simple Vocabulary Factory.\n* A convenience base class for deferred portlets.\n\nTimeCacheKey\n------------\n\nTimeCacheKey is a helper class to add volatile cache based on last time access. You can use it in the following way: ::\n\n >>> from plone.memoize import ram\n >>> from vnccollab.common.cache import TimeCacheKey\n >>> CACHE_TIME = 15 * 60 # 15 minutes\n >>> cache = TimeCacheKey(CACHE_TIME)\n >>> ram(cache)\n >>> def sum(a, b): return a + b\n ...\n \n\nKeyword Search\n--------------\n\nA keyword search is a special kind of search that takes place when a keyword\nsuffixed by ``:`` is present in the search string. This package offers a \n``search`` view with keyword search.\n\nCurrently, there are two keywords defined:\n\n- ``type:`` keyword: The search returns only object of the types specified\n in the query.\n- ``user:`` keyword: The search returns only objects created by the user\n specified in the query.\n\nSimple Vocabulary Factory\n-------------------------\n\n``SimpleVocabularyFactory`` is a convenience class for the creation of \nvocabularies based in a list of tuples: ::\n\n >>> from vnccollab.common.vocabularies import SimpleVocabularyFactory\n >>> semaphore = [('r', 'Red'), ('y', 'Yellow'), ('g', 'Green')]\n >>> semaphoreVocabulary = SimpleVocabularyFactory(semaphore)\n\nDeferred Portlet\n----------------\n\n``DeferredRenderer`` is a convenience class for the creation of deferred \nportlets. It extends ``plone.app.portlets.portlets.base.DeferredRendered`` \nand adds easy access to the portlet metadata. This class is intended to \nbe used by other vnccollab packages.\n\n\nChangelog\n=========\n\n1.0.6 - July 02, 2014\n------------------\n\n- Adds portlet migration functions.\n [JOse Dinuncio]\n\n- Cleans setup.py [11080].\n [Jose Dinuncio]\n\n\n1.0.5 - April 11, 2014\n----------------------\n\n- Adds common icon images [10960].\n [Cesar Gonzalez]\n\n- Force css override for dynatree [10936].\n [Cesar Gonzalez]\n\n- Fixes cssregistry order. Upgrade step 1102 [10936].\n [Cesar Gonzalez]\n\n1.0.4 - April 02, 2014\n----------------------\n\n- Add unit tests [10656].\n [Marcin Staniszczak]\n\n- Adds README documentation.\n [Jose Dinuncio]\n\n1.0.3 - March 07, 2014\n----------------------\n\n- Fixes tests.\n [Jose Dinuncio]\n\n- Improves speed in user search [10169].\n [Jose Dinuncio].\n\n- Adds version.txt.\n [Jose Dinuncio]\n\n1.0.2 - December 06, 2013\n-------------------------\n\n- Adds lost hotfix.\n [Jose Dinuncio]\n\n1.0.1 - November 20, 2013\n-------------------------\n\n- Adds missing images of dynatree jquery plugin. Adds main.js resource [9049].\n [Cesar Gonzalez]\n\n- Adds dynatree jquery plugin. Upgrade step 1100.\n [Cesar Gonzalez]\n\n- Adds vocabualry utility.\n [Jose DInuncio]\n\n- Add more js scripts for stream and casts.\n [Vitaliy Podoba]\n\n1.0.0 - October 24, 2013\n------------------------\n\n- Add jquery selection field js plugin.\n [Vitaliy Podoba]\n\n- Adds search keywords.\n [Jose Dinuncio]\n\n- Adds custom event for portlet loading complete.\n [Cesar Gonzalez]\n\n- Attach portlet buttons when deferred porlets are complete\n [Cesar Gonzalez]\n\n- Initial release.", "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/vnc-biz/vnccollab.common", "keywords": "", "license": "gpl", "maintainer": null, "maintainer_email": null, "name": "vnccollab.common", "package_url": "https://pypi.org/project/vnccollab.common/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/vnccollab.common/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/vnc-biz/vnccollab.common" }, "release_url": "https://pypi.org/project/vnccollab.common/1.0.6/", "requires_dist": null, "requires_python": null, "summary": "VNC Collaboration Common Code", "version": "1.0.6" }, "last_serial": 1164222, "releases": { "1.0.5-": [ { "comment_text": "", "digests": { "md5": "904d3ca7c4c6018e9635eb2b5d7c9c41", "sha256": "2b1a20b6e15533e3f5b9a5b79a4c9a6cdd54b96d662370dd50c6727ae55dcfea" }, "downloads": -1, "filename": "vnccollab.common-1.0.5-.tar.gz", "has_sig": false, "md5_digest": "904d3ca7c4c6018e9635eb2b5d7c9c41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12435, "upload_time": "2014-04-11T10:18:27", "url": "https://files.pythonhosted.org/packages/e3/63/ae5eebb2b61fb64d17b9640cab7ca16a6f03e7e4b3f1664ac83739febc0e/vnccollab.common-1.0.5-.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "83966c2a8b0a1a11969eff572e6e55be", "sha256": "697ed30fea5337e9459ed9e70a1811210acb594af786b7b45cc40f27e9ee69e1" }, "downloads": -1, "filename": "vnccollab.common-1.0.6.tar.gz", "has_sig": false, "md5_digest": "83966c2a8b0a1a11969eff572e6e55be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 66316, "upload_time": "2014-07-21T13:00:39", "url": "https://files.pythonhosted.org/packages/4b/1f/5d84df783b394a5504e941abf72e3717fde68d7bf96545d8f4c95148be65/vnccollab.common-1.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "83966c2a8b0a1a11969eff572e6e55be", "sha256": "697ed30fea5337e9459ed9e70a1811210acb594af786b7b45cc40f27e9ee69e1" }, "downloads": -1, "filename": "vnccollab.common-1.0.6.tar.gz", "has_sig": false, "md5_digest": "83966c2a8b0a1a11969eff572e6e55be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 66316, "upload_time": "2014-07-21T13:00:39", "url": "https://files.pythonhosted.org/packages/4b/1f/5d84df783b394a5504e941abf72e3717fde68d7bf96545d8f4c95148be65/vnccollab.common-1.0.6.tar.gz" } ] }