{ "info": { "author": "Raptus AG", "author_email": "dev@raptus.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\nProducts.VisitTracker provides a simple API for tracking visits on\nobjects. Objects for which visits should be tracked have to implement\nthe::\n\n Products.VisitTracker.interfaces.IVisitable\n\ninterface and thus provide an attribute named *revisit* which defines\nthe time delta in hours after which a revisit is tracked as a new visit.\n\nVisits are tracked by the IVisitTracker adapter and stored as annotations\non the specific object.\n\n\nUsage\n=====\n\nGiven an object implementing the IVisitable interface tracking and retrieving\nvisits is done by adapting to IVisitTracker.\n\n::\n\n tracker = IVisitTracker(obj)\n\nTracking a visit\n----------------\n\nTracking a visit is done by calling the *trackVisit* method. This is usually\ndone in a view or a viewlet.\n\n::\n\n tracker.trackVisit()\n\nGetting visits\n--------------\n\nThere are multiple methods available to retrieve the stored visits.\n\nGet visits\n``````````\n\n::\n\n tracker.getVisits()\n\nReturns a list of date, userid tuples of all visits tracked for this object.\n\nGet number of visits\n````````````````````\n\n::\n\n tracker.getNumberOfVisits()\n\nReturns the number of visits tracked for this object.\n\nGet last visit\n``````````````\n\n::\n\n tracker.getLastVisit()\n\nReturns the date of the last visit tracked for this object.\n\nGet last visit of user\n``````````````````````\n\n::\n\n tracker.getLastVisit(userid)\n\nReturns the date of the last visit of the specified user tracked for this object.\n\nGet last visits by user\n```````````````````````\n\n::\n\n tracker.getLastVisits()\n\nReturns a list of userid, date tuples of the last visits of all tracked users.\n\n\nChangelog\n=========\n\n1.0b2 (2010-10-24)\n------------------\n\n* Set zip_safe flag to False\n\n1.0b1 - (2010-10-19)\n--------------------\n\n* First public release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://raptus.com", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "Products.VisitTracker", "package_url": "https://pypi.org/project/Products.VisitTracker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Products.VisitTracker/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://raptus.com" }, "release_url": "https://pypi.org/project/Products.VisitTracker/1.0b2/", "requires_dist": null, "requires_python": null, "summary": "Utility to track visits", "version": "1.0b2" }, "last_serial": 785142, "releases": { "1.0b1": [ { "comment_text": "", "digests": { "md5": "47dfde4ae050e1c198eade35a89b9fff", "sha256": "f195ab6e2f1b023f9b07b28e589e299d43b3a8816e87a47a6c6c9be53083c0cf" }, "downloads": -1, "filename": "Products.VisitTracker-1.0b1.tar.gz", "has_sig": false, "md5_digest": "47dfde4ae050e1c198eade35a89b9fff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3263, "upload_time": "2010-10-20T16:06:13", "url": "https://files.pythonhosted.org/packages/06/87/83b696611f3042e097878c8acf8bc518b476a27fccc21a6829920a47384d/Products.VisitTracker-1.0b1.tar.gz" } ], "1.0b2": [ { "comment_text": "", "digests": { "md5": "72e1c35588186ebc3160ce0a5bc6c4a7", "sha256": "99f001aea26b00de7f99f632d15acf87926bad7ba7a89b3e42683764023a94c9" }, "downloads": -1, "filename": "Products.VisitTracker-1.0b2.tar.gz", "has_sig": false, "md5_digest": "72e1c35588186ebc3160ce0a5bc6c4a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3297, "upload_time": "2010-10-24T14:58:53", "url": "https://files.pythonhosted.org/packages/11/ed/ec0190a077fb7f491ddd50e22cecfd2b5a8bddb658ab1a6eebeceb86da87/Products.VisitTracker-1.0b2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "72e1c35588186ebc3160ce0a5bc6c4a7", "sha256": "99f001aea26b00de7f99f632d15acf87926bad7ba7a89b3e42683764023a94c9" }, "downloads": -1, "filename": "Products.VisitTracker-1.0b2.tar.gz", "has_sig": false, "md5_digest": "72e1c35588186ebc3160ce0a5bc6c4a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3297, "upload_time": "2010-10-24T14:58:53", "url": "https://files.pythonhosted.org/packages/11/ed/ec0190a077fb7f491ddd50e22cecfd2b5a8bddb658ab1a6eebeceb86da87/Products.VisitTracker-1.0b2.tar.gz" } ] }