{ "info": { "author": "David Glick", "author_email": "david@glicksoftware.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 5.0", "Framework :: Plone :: 5.1", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. image:: https://travis-ci.org/collective/collective.badge.svg?branch=master\n :target: https://travis-ci.org/collective/collective.badge\n\ncollective.badge\n================\n\nIntroduction\n------------\n\nThis package adds a content type for representing badges that can be assigned to users.\n\nEach badge has an image and a roster (provided using collective.workspace) which includes:\n\n- User\n- Date Assigned\n- Assigned By\n- Expiration\n\nThe package is developed and tested on Plone 5.\n\nAn example of its use is on Plone.org, e.g. https://plone.org/profile/davisagli\n\n\nInstallation\n------------\n\n* Add collective.badge to your buildout eggs.\n* Activate collective.badge in the 'Add-ons' section of Plone's Site Setup.\n\n\nAPI\n---\n\nAssign a badge to a user::\n\n\t>>> badge.assign_to_user(user_id='admin')\n\nCheck if a badge is active for a user\n(includes checking that the badge has not expired)::\n\n >>> badge.is_assigned_to_user(user_id='admin')\n True\n\nList user ids of all active users for a badge::\n\n >>> badge.list_active_users()\n ['admin']\n\nRemove a badge from a user::\n\n >>> badge.remove_from_user(user_id='admin')\n\nGet a user's active badges (sorted alphabetically)::\n\n >>> from collective.badge.api import badges_for_user\n >>> badges_for_user(user_id='admin')\n []\n\nContributors\n============\n\n- David Glick - Original Author\n\nChangelog\n=========\n\n1.0.1 (2017-03-04)\n------------------\n\n- add PyPi classifiers for Plone 5.0, 5.1\n [tkimnguyen]\n\n\n1.0 (2017-03-04)\n----------------\n\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/collective.badge", "keywords": "plone badge", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "collective.badge", "package_url": "https://pypi.org/project/collective.badge/", "platform": "", "project_url": "https://pypi.org/project/collective.badge/", "project_urls": { "Homepage": "https://github.com/collective/collective.badge" }, "release_url": "https://pypi.org/project/collective.badge/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "A basic member badge system for Plone", "version": "1.0.1" }, "last_serial": 4679716, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "2cf03fa99d330f9100461cbad3e208b3", "sha256": "09dec1dc41914dc84710ae8db0eddca370912833e5209bdb4408e002bf9c2e1c" }, "downloads": -1, "filename": "collective.badge-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2cf03fa99d330f9100461cbad3e208b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19334, "upload_time": "2017-03-04T19:46:47", "url": "https://files.pythonhosted.org/packages/0d/4d/0e5532018bba71b46e390de4601250157fda3bb4ca55a867cc7105696909/collective.badge-1.0.1.tar.gz" } ], "1.0.dev0": [ { "comment_text": "", "digests": { "md5": "f6755cadd81bfdab6995dd6c675f4455", "sha256": "53bca79f74d101241b025670870a6f86e2257ac1a6c4f12ea8d2a5252268786b" }, "downloads": -1, "filename": "collective.badge-1.0.dev0.tar.gz", "has_sig": false, "md5_digest": "f6755cadd81bfdab6995dd6c675f4455", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15063, "upload_time": "2017-03-04T19:35:53", "url": "https://files.pythonhosted.org/packages/4b/f5/2388ce09fe8caa7e749fa72f77c776ad615c60dc22121c74cf099277cc3c/collective.badge-1.0.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2cf03fa99d330f9100461cbad3e208b3", "sha256": "09dec1dc41914dc84710ae8db0eddca370912833e5209bdb4408e002bf9c2e1c" }, "downloads": -1, "filename": "collective.badge-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2cf03fa99d330f9100461cbad3e208b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19334, "upload_time": "2017-03-04T19:46:47", "url": "https://files.pythonhosted.org/packages/0d/4d/0e5532018bba71b46e390de4601250157fda3bb4ca55a867cc7105696909/collective.badge-1.0.1.tar.gz" } ] }