{ "info": { "author": "Jonatan Heyman", "author_email": "jonatan@heyman.info", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============\nDjango MStats\n=============\n\n**Please note**: *Django MStats is in early development and the API is very likely to change.*\n\nMStats is a super simple, re-usable, stateless Django app for visualizing and browsing statistics, mainly \nbased on existing Django models.\n\nMy motivation for creating MStats is to have a dead simple way, with as little effort as possible, to get \nvisualization of key metrics in different Django projects. \n\nThe goal of Django MStats is *not* to be the ultimate metrics/statistics solution\u2122. It will not support \ndifferent backends for different Metrics services and databases. MStats makes all queries in real-time, \nand does not store any permanent data itself, even though Django's cache might be used.\n\nIn other words, Django MStats is a reusable app for those who want to get basic statistics browsing with \nminimum effort. Since MStats is stateless, it can easily be tested out, and thrown away in favor of \nsomething more advanced, if a project grow out of it.\n\n\nWhat does M in Mstats stand for?\n================================\n\nModel or Mini. Whichever you like best.\n\n\nRequirements\n============\n\nCurrently MStats depends on PostgreSQL, because it uses a Postgres specific SQL functions for retrieving \nstats. \n\n\nInstallation\n============\n\n1. Install from PyPI::\n\n pip install django-mstats\n\n2. Add django_mstats to INSTALLED_APPS\n\n3. Add URL route to your urls.py::\n\n url(r\"^mstats/\", include(\"django_mstats.urls\")),\n\n4. Create **mstats.py** file(s) in your Django apps (see below).\n\n\nDefining different metrics\n==========================\n\nOnce you have added django_mstats to your INSTALLED_APPS, you can create mstats.py files within your \nDjango apps. In those files you should create classes that inherits from ModelStats. Below are some \nexamples.\n\nStatistics for newly registered users::\n\n from django_mstats.models import ModelStats\n from django.contrib.auth.models import User\n \n class NewUsers(ModelStats):\n model = User\n datetime_field = \"date_joined\"\n\nSpecifying a name::\n\n class NewUsers(ModelStats):\n model = User\n datetime_field = \"date_joined\"\n name = \"User registrations\"\n\n\nAuthor\n======\n\nDjango-MStats is developed by `Jonatan Heyman `_.\n\n\nLicense\n=======\n\nBSD License", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/pypi/django-mstats", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/heyman/django-mstats", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-mstats", "package_url": "https://pypi.org/project/django-mstats/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mstats/", "project_urls": { "Download": "https://pypi.python.org/pypi/django-mstats", "Homepage": "https://github.com/heyman/django-mstats" }, "release_url": "https://pypi.org/project/django-mstats/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Simple, re-usable, stateless Django app for visualizing and browsing statistics, mainly based on your existing Django models.", "version": "0.1.2" }, "last_serial": 1157001, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f8388a249e6a9d4a9a2e27403343bc44", "sha256": "29a200596f4f307323d65aaab2cc44d3f036a97445be4441ce7da5df3cc17c9b" }, "downloads": -1, "filename": "django-mstats-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f8388a249e6a9d4a9a2e27403343bc44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17340, "upload_time": "2014-07-10T10:41:17", "url": "https://files.pythonhosted.org/packages/c4/a4/600c2c5296e740668008f8ed877c989d4c983b1b30d0823caa1f9f8b1a44/django-mstats-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fccaecf3f7820100a36709b3dfc33178", "sha256": "24da3bfafc4f84eb6c4d1f932975d349f3073f804623d36416a188c869e6380f" }, "downloads": -1, "filename": "django-mstats-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fccaecf3f7820100a36709b3dfc33178", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17691, "upload_time": "2014-07-10T10:49:19", "url": "https://files.pythonhosted.org/packages/1c/c9/e56b01a9b30da470f0e91d4a1e0edb4b5f7ec3e5e6a6b15d143468f60982/django-mstats-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "7b3d836a6f27ed9c2807b8310a3d11fb", "sha256": "ceaccb98fa29d53e80fb7983bb188bc9c4a373a8a79447391416e15ddc173cef" }, "downloads": -1, "filename": "django-mstats-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7b3d836a6f27ed9c2807b8310a3d11fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17726, "upload_time": "2014-07-14T10:37:23", "url": "https://files.pythonhosted.org/packages/b1/b3/1d36ce620c66aba2fffe205b4c6fb32681fdbc18a7413dcf69797dcf39f7/django-mstats-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7b3d836a6f27ed9c2807b8310a3d11fb", "sha256": "ceaccb98fa29d53e80fb7983bb188bc9c4a373a8a79447391416e15ddc173cef" }, "downloads": -1, "filename": "django-mstats-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7b3d836a6f27ed9c2807b8310a3d11fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17726, "upload_time": "2014-07-14T10:37:23", "url": "https://files.pythonhosted.org/packages/b1/b3/1d36ce620c66aba2fffe205b4c6fb32681fdbc18a7413dcf69797dcf39f7/django-mstats-0.1.2.tar.gz" } ] }