{ "info": { "author": "4teamwork AG", "author_email": "mailto:info@4teamwork.ch", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Plone :: 4.3", "Framework :: Plone :: 5.1", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "================\nftw.contentstats\n================\n\n.. contents:: Table of Contents\n\n\nIntroduction\n============\n\n``ftw.contentstats`` is a Plone add-on for collecting and displaying content\nstatistics.\n\n\nCompatibility\n-------------\n\nPlone 4.3.x\n\n\nInstallation\n============\n\n- Add the package to your buildout configuration:\n\n::\n\n [instance]\n eggs +=\n ...\n ftw.contentstats\n\n\nUsage\n=====\n\nVisit the ``@@content-stats`` view on a Plone site (requires the\n``cmf.ManagePortal`` permission by default).\n\n----\n\n.. image:: https://raw.githubusercontent.com/4teamwork/ftw.contentstats/master/docs/content-stats-view.png\n\n\nCollected stats\n===============\n\nOut of the box, ``ftw.contentstats`` will collect statistics for\n\n- **Types** (distinct ``portal_type``'s and their counts)\n- **Workflow states** (distinct ``review_state``'s and their counts)\n- **Disk Usage** (total disk usage of the deployment directory, filestorage and blobstorage)\n\nAdd-on packages can have additional statistics collected by providing an\n``IStatsProvider`` adapter (see interface description for details).\n\n\nLogging content stats over time\n===============================\n\nIn order to log content stats to a file, you can use the provided\n``bin/dump-content-stats`` script to have stats dumped to a logfile that\ncontains on JSON entry per line, containing the raw stats for that time.\n\nUsage:\n\n``bin/dump-content-stats -s ``\n\nThe script will cause the stats to be dumped by making a request to the\n``@@dump-content-stats`` view. This view is accessible to Anonymous\n(``zope.Public``), but *only* when requested from localhost!\n\nSo in order for this script to work, you'll have to invoke it on the same\nmachine where your Zope instances run, and make sure the Plone site is **up\nand running**, and reachable from localhost.\n\nThe logfile location will be in the same directory as the Z2 log, and the\nlog will be named ``contentstats-json.log``.\n\n**Note**: In order to figure out the appropriate log directory,\n``ftw.contentstats`` needs to derive this information from the eventlog\nlocation. It's therefore important to have an eventlog configured, otherwise\n``ftw.contentstats`` will not be able to log any content stats, and complain\nnoisily through the root logger.\n\n\nDevelopment\n===========\n\n1. Fork this repo\n2. Clone your fork\n3. Shell: ``ln -s development.cfg buildout.cfg``\n4. Shell: ``python boostrap.py``\n5. Shell: ``bin/buildout``\n\nRun ``bin/test`` to test your changes.\n\nOr start an instance by running ``bin/instance fg``.\n\n\nLinks\n=====\n\n- Github: https://github.com/4teamwork/ftw.contentstats\n- Issues: https://github.com/4teamwork/ftw.contentstats/issues\n- Pypi: http://pypi.python.org/pypi/ftw.contentstats\n\n\nCopyright\n=========\n\nThis package is copyright by `4teamwork `_.\n\n``ftw.contentstats`` is licensed under GNU General Public License, version 2.\n\nChangelog\n=========\n\n\n1.1.1 (2018-12-28)\n------------------\n\n- Fixed test temp file isolation issues. [Rotonen]\n\n\n1.1.0 (2018-11-05)\n------------------\n\n- Include disk usage (Data.fs and blobstorage) in stats. [lgraf]\n\n- Add Plone 5 compatibility. [phgross]\n\n1.0.3 (2017-09-08)\n------------------\n\n- Make determining buildout path independent of working directory.\n [lgraf]\n\n\n1.0.2 (2017-09-04)\n------------------\n\n- Properly build ++resource++ URLs by prefixing them with portal_url instead\n of just a slash. [lgraf]\n\n\n1.0.1 (2017-09-04)\n------------------\n\n- Fail gracefully if eventlog config can't be found in order to derive\n log location from it. Instead of potentially preventing instance startup,\n log a noticeable error message using the root logger.\n [lgraf]\n\n\n1.0.0 (2017-09-03)\n------------------\n\n- Introduce IStatsCollector component and implement portal_types collector. [mathias.leimgruber]\n\n- Rework ContenStats integration. Move \"getting the content stats\" from the view\n to it's own module/class.\n [mathias.leimgruber]\n\n- Initial implementation.\n [lgraf]", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/4teamwork/ftw.contentstats", "keywords": "ftw content stats statistics", "license": "GPL2", "maintainer": "", "maintainer_email": "", "name": "ftw.contentstats", "package_url": "https://pypi.org/project/ftw.contentstats/", "platform": "", "project_url": "https://pypi.org/project/ftw.contentstats/", "project_urls": { "Homepage": "https://github.com/4teamwork/ftw.contentstats" }, "release_url": "https://pypi.org/project/ftw.contentstats/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "Collect and display content statistics for Plone sites", "version": "1.1.1" }, "last_serial": 5823456, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "565a959241bc2ac1fbda83e75d88937d", "sha256": "a98840a4f31a1ba5a3941dbf14c0dd145fb70e71f955b30f96e841289f2967c2" }, "downloads": -1, "filename": "ftw.contentstats-1.0.0.tar.gz", "has_sig": false, "md5_digest": "565a959241bc2ac1fbda83e75d88937d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 162250, "upload_time": "2017-09-03T20:11:17", "url": "https://files.pythonhosted.org/packages/20/0d/97085910bcdf1976afefcba44207dccc6917a3d9e24c47be5b57dc22f9e0/ftw.contentstats-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6aa28b1ced515831b871c4a98fa4296c", "sha256": "781fd63148400c0c4707338382d55e90dc3f82dca866d30047323b357da6822d" }, "downloads": -1, "filename": "ftw.contentstats-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6aa28b1ced515831b871c4a98fa4296c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 162498, "upload_time": "2017-09-03T22:01:18", "url": "https://files.pythonhosted.org/packages/ec/71/1b6973c1e08c1dfd0d2d986176b9e0be48e0b9dc4c96ab78cb5a2ccc354f/ftw.contentstats-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "d16651673d9b6160daab4a345a8d8094", "sha256": "b5e1ac10b26677b67cd206cf7c1c50262dd879ad5ddea32f7f0d07f622f462bd" }, "downloads": -1, "filename": "ftw.contentstats-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d16651673d9b6160daab4a345a8d8094", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 162609, "upload_time": "2017-09-04T14:49:30", "url": "https://files.pythonhosted.org/packages/c4/25/0116ad226fcd9d9f6213f32c1484725bc7daa0620c0c485874d99443e9ec/ftw.contentstats-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "c581d7b069f08f5f683a7a060a26d086", "sha256": "f482db56e4b971ea345b0a9a279f2262e05419bde56d40299c3bb64a3f3e98d5" }, "downloads": -1, "filename": "ftw.contentstats-1.0.3.tar.gz", "has_sig": false, "md5_digest": "c581d7b069f08f5f683a7a060a26d086", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 163158, "upload_time": "2017-09-08T08:15:58", "url": "https://files.pythonhosted.org/packages/56/07/20e0d66a1cdb4b8bb62e395eef546940508302882645b66ebf67c48cfd6c/ftw.contentstats-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "52032cd7e01f206ee3343a45e652daf8", "sha256": "ae0c6a378a44deb57f8360e6304f60d04ef288d3c37fa7194c083d3aff9340a9" }, "downloads": -1, "filename": "ftw.contentstats-1.1.0.tar.gz", "has_sig": false, "md5_digest": "52032cd7e01f206ee3343a45e652daf8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 169937, "upload_time": "2018-11-05T14:59:04", "url": "https://files.pythonhosted.org/packages/1d/bf/2bb742940e33e44e6294912e4d6e31250e93c7ecec083113848f9adec268/ftw.contentstats-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "aa0269c806b75fccab6281b5f084a42c", "sha256": "c3d8e9580332f56d01b59fe5912612dbb3a29884b2dca66a11649a548eff8d98" }, "downloads": -1, "filename": "ftw.contentstats-1.1.1.tar.gz", "has_sig": false, "md5_digest": "aa0269c806b75fccab6281b5f084a42c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 170068, "upload_time": "2018-12-28T15:50:01", "url": "https://files.pythonhosted.org/packages/07/ee/a3473a7dda3dbfa08442b8b40b175f683269dd2ac065810805c28884f55c/ftw.contentstats-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aa0269c806b75fccab6281b5f084a42c", "sha256": "c3d8e9580332f56d01b59fe5912612dbb3a29884b2dca66a11649a548eff8d98" }, "downloads": -1, "filename": "ftw.contentstats-1.1.1.tar.gz", "has_sig": false, "md5_digest": "aa0269c806b75fccab6281b5f084a42c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 170068, "upload_time": "2018-12-28T15:50:01", "url": "https://files.pythonhosted.org/packages/07/ee/a3473a7dda3dbfa08442b8b40b175f683269dd2ac065810805c28884f55c/ftw.contentstats-1.1.1.tar.gz" } ] }