django-redis-metrics


Namedjango-redis-metrics JSON
Version 2.2.0 PyPI version JSON
download
home_page
Summarydjango-redis-metrics is a Django application for tracking application metrics backed by Redis.
upload_time2023-08-08 20:42:10
maintainer
docs_urlhttps://pythonhosted.org/django-redis-metrics/
author
requires_python>=3.8
licenseMIT
keywords django redis_metrics redis metrics performance
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Django Redis Metrics
====================

|docs| |version| |coveralls| |license|


This app allows you do define various named metrics (such as 'New Users',
'Downloads', or 'Purchases') and record when they happen.

Each metric can be assigned a Category or an optional Expiration time, and is
stored at the second, minute, hourly, daily, weekly, monthly, and yearly level,
so you can see the frequency of your data at different granularities.

Here's a sneak peak at how it works::

    >>> from redis_metrics.utils import metric
    >>> metric("Downloads", category="User Metrics")


Compatibility
-------------

This app works with Python 3 and is tested with Django 2.2. For support for
older versions of Django, see the
`1.7.0 release <https://github.com/bradmontgomery/django-redis-metrics/releases/tag/v1.7.0>`_.


Documentation
-------------

View the full documenation at http://django-redis-metrics.readthedocs.io/en/latest/.

License
-------

This code is distributed under the terms of the MIT license. See the
``LICENSE.txt`` file.


.. |version| image:: http://img.shields.io/pypi/v/django-redis-metrics.svg?style=flat-square
    :alt: Current Release
    :target: https://pypi.python.org/pypi/django-redis-metrics/

.. |coveralls| image:: http://img.shields.io/coveralls/bradmontgomery/django-redis-metrics/master.svg?style=flat-square
    :alt: Code Coverage
    :target: https://coveralls.io/r/bradmontgomery/django-redis-metrics

.. |license| image:: http://img.shields.io/pypi/l/django-redis-metrics.svg?style=flat-square
    :alt: License
    :target: https://pypi.python.org/pypi/django-redis-metrics/

.. |docs| image:: https://img.shields.io/badge/Docs-Latest-brightgreen.svg?style=flat-square
    :target: http://django-redis-metrics.readthedocs.org/en/latest/?badge=latest
    :alt: Documentation Status

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "django-redis-metrics",
    "maintainer": "",
    "docs_url": "https://pythonhosted.org/django-redis-metrics/",
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "django,redis_metrics,redis,metrics,performance",
    "author": "",
    "author_email": "Brad Montgomery <brad@bradmontgomery.net>",
    "download_url": "https://files.pythonhosted.org/packages/3d/0e/3ebf6098b652037d11baf42f16c51bd32577d9fd5ec147fc145c53a22f8a/django-redis_metrics-2.2.0.tar.gz",
    "platform": null,
    "description": "Django Redis Metrics\n====================\n\n|docs| |version| |coveralls| |license|\n\n\nThis app allows you do define various named metrics (such as 'New Users',\n'Downloads', or 'Purchases') and record when they happen.\n\nEach metric can be assigned a Category or an optional Expiration time, and is\nstored at the second, minute, hourly, daily, weekly, monthly, and yearly level,\nso you can see the frequency of your data at different granularities.\n\nHere's a sneak peak at how it works::\n\n    >>> from redis_metrics.utils import metric\n    >>> metric(\"Downloads\", category=\"User Metrics\")\n\n\nCompatibility\n-------------\n\nThis app works with Python 3 and is tested with Django 2.2. For support for\nolder versions of Django, see the\n`1.7.0 release <https://github.com/bradmontgomery/django-redis-metrics/releases/tag/v1.7.0>`_.\n\n\nDocumentation\n-------------\n\nView the full documenation at http://django-redis-metrics.readthedocs.io/en/latest/.\n\nLicense\n-------\n\nThis code is distributed under the terms of the MIT license. See the\n``LICENSE.txt`` file.\n\n\n.. |version| image:: http://img.shields.io/pypi/v/django-redis-metrics.svg?style=flat-square\n    :alt: Current Release\n    :target: https://pypi.python.org/pypi/django-redis-metrics/\n\n.. |coveralls| image:: http://img.shields.io/coveralls/bradmontgomery/django-redis-metrics/master.svg?style=flat-square\n    :alt: Code Coverage\n    :target: https://coveralls.io/r/bradmontgomery/django-redis-metrics\n\n.. |license| image:: http://img.shields.io/pypi/l/django-redis-metrics.svg?style=flat-square\n    :alt: License\n    :target: https://pypi.python.org/pypi/django-redis-metrics/\n\n.. |docs| image:: https://img.shields.io/badge/Docs-Latest-brightgreen.svg?style=flat-square\n    :target: http://django-redis-metrics.readthedocs.org/en/latest/?badge=latest\n    :alt: Documentation Status\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "django-redis-metrics is a Django application for tracking application metrics backed by Redis.",
    "version": "2.2.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/bradmontgomery/django-redis_metrics/issues",
        "Homepage": "https://github.com/bradmontgomery/django-redis_metrics"
    },
    "split_keywords": [
        "django",
        "redis_metrics",
        "redis",
        "metrics",
        "performance"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cb51a9d30f3b98555c317253f798db76cb433b5623e86dbb0204eecd5a32bc3d",
                "md5": "a9723fde6bef39fecdcb124e7f493958",
                "sha256": "d6ff45555bd88f0295579847f30c94e00371990d288cf087723d59a23045733c"
            },
            "downloads": -1,
            "filename": "django_redis_metrics-2.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a9723fde6bef39fecdcb124e7f493958",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 126465,
            "upload_time": "2023-08-08T20:42:08",
            "upload_time_iso_8601": "2023-08-08T20:42:08.582847Z",
            "url": "https://files.pythonhosted.org/packages/cb/51/a9d30f3b98555c317253f798db76cb433b5623e86dbb0204eecd5a32bc3d/django_redis_metrics-2.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d0e3ebf6098b652037d11baf42f16c51bd32577d9fd5ec147fc145c53a22f8a",
                "md5": "aa59c0d4165e244e8bdbfad4499e2cb5",
                "sha256": "2b49edca476e9def3f4d363ed0da5747de11405e203a2928eaffc075d5bb8e55"
            },
            "downloads": -1,
            "filename": "django-redis_metrics-2.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "aa59c0d4165e244e8bdbfad4499e2cb5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 108328,
            "upload_time": "2023-08-08T20:42:10",
            "upload_time_iso_8601": "2023-08-08T20:42:10.566453Z",
            "url": "https://files.pythonhosted.org/packages/3d/0e/3ebf6098b652037d11baf42f16c51bd32577d9fd5ec147fc145c53a22f8a/django-redis_metrics-2.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-08 20:42:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bradmontgomery",
    "github_project": "django-redis_metrics",
    "github_not_found": true,
    "lcname": "django-redis-metrics"
}
        
Elapsed time: 0.09791s