{ "info": { "author": "Lucas Hild", "author_email": "contact@lucas-hild.de", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask-Matomo\n============\n\n|image0| |PyPI| |Docs|\n\nFlask-Matomo is a library which lets you track the requests of your\nFlask website using Matomo (Piwik).\n\nInstallation\n------------\n\n::\n\n pip install flask-matomo\n\nUsage\n-----\n\n.. code:: python\n\n from flask import Flask, render_template\n from flask_matomo import *\n\n app = Flask(__name__)\n matomo = Matomo(app, matomo_url=\"https://matomo.mydomain.com\",\n id_site=5, token_auth=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n\n @app.route(\"/\")\n def index():\n return render_template(\"index.html\")\n\n if __name__ == \"__main__\":\n app.run()\n\nIn the code above:\n\n1. The *Matomo* object is created by passing in the Flask application\n and arguments to configure Matomo.\n2. The *matomo\\_url* parameter is the url to your Matomo installation.\n3. The *id\\_site* parameter is the id of your site. This is used if you\n track several websites with on Matomo installation. It can be found\n if you open your Matomo dashboard, change to site you want to track\n and look for &idSite= in the url.\n4. The *token\\_auth* parameter can be found in the area API in the\n settings of Matomo. It is required for tracking the ip address.\n\nMeta\n----\n\n| Lucas Hild - `https://lucas-hild.de `__\n| This project is licensed under the MIT License - see the LICENSE file\n for details\n\n.. |image0| image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\n.. |PyPI| image:: https://img.shields.io/pypi/v/flask-matomo.svg?style=flat-square&colorB=dfb317\n :target: https://pypi.org/project/flask-matomo/\n.. |Docs| image:: https://img.shields.io/badge/docs-readthedocs-red.svg?style=flat-square\n :target: https://flask-matomo.readthedocs.io", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Lanseuo/flask-matomo", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Flask-Matomo", "package_url": "https://pypi.org/project/Flask-Matomo/", "platform": "", "project_url": "https://pypi.org/project/Flask-Matomo/", "project_urls": { "Homepage": "https://github.com/Lanseuo/flask-matomo" }, "release_url": "https://pypi.org/project/Flask-Matomo/1.2.0/", "requires_dist": null, "requires_python": "", "summary": "Track requests to your Flask website with Matomo", "version": "1.2.0" }, "last_serial": 3706960, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c619446b58409afbb2d683e24cdc34eb", "sha256": "39efca70085fbed22ab6b1b6d8d33a595e964f27700165dbee25aee71797a5c7" }, "downloads": -1, "filename": "Flask_Matomo-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c619446b58409afbb2d683e24cdc34eb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5158, "upload_time": "2018-03-09T17:46:59", "url": "https://files.pythonhosted.org/packages/24/67/bf130a47d5b9e9fa769c348d65a8d4d22509c8f5b761047870804c90b6f3/Flask_Matomo-1.0.0-py2.py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "bd1c62a174681e1deef1143d944615d5", "sha256": "19d5c956706f29d2f46e4b837c7b622e99e1d8a58ef43e0010d6a00e80107a9a" }, "downloads": -1, "filename": "Flask_Matomo-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bd1c62a174681e1deef1143d944615d5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4891, "upload_time": "2018-03-09T19:24:51", "url": "https://files.pythonhosted.org/packages/92/30/441e3f005f158fe497b12a9abc57619d96f334c3a20b03c519d42eb2e8fa/Flask_Matomo-1.0.1-py2.py3-none-any.whl" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c2dfc6d65bfcaa42fa5d0365736e3d81", "sha256": "36f429b952d93053b9f23f468cec1b1868d1ea9c4347f1fb00036deece7349ac" }, "downloads": -1, "filename": "Flask-Matomo-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c2dfc6d65bfcaa42fa5d0365736e3d81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3388, "upload_time": "2018-03-17T11:33:27", "url": "https://files.pythonhosted.org/packages/d6/36/f4cdb68750672fc661be5b0c5ead49aa1b7900f888fb09ddebca4d011ac9/Flask-Matomo-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "7e3de2c1d5817dda8e10d4abb733ece3", "sha256": "078e37b385d4b9b500eb12a5fc79d87949592559a2b67604499a430c3ea29fa4" }, "downloads": -1, "filename": "Flask-Matomo-1.1.1.tar.gz", "has_sig": false, "md5_digest": "7e3de2c1d5817dda8e10d4abb733ece3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3431, "upload_time": "2018-03-17T13:17:15", "url": "https://files.pythonhosted.org/packages/54/ad/264ee7b09835238d37f6b349d678c028bbd872a6af40f78f410d6797632a/Flask-Matomo-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "ee4f5be29d92c0903ea2ce498b35b5ae", "sha256": "12d77ebe25545d97f6efe888ca6dc86ce7bc959eac6a05f01d781b504a3124e0" }, "downloads": -1, "filename": "Flask-Matomo-1.2.0.tar.gz", "has_sig": false, "md5_digest": "ee4f5be29d92c0903ea2ce498b35b5ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3580, "upload_time": "2018-03-26T15:10:46", "url": "https://files.pythonhosted.org/packages/35/ca/f8b9f9b95d3a376006b7ae4a6e0cd4cb10cecce42fb2c91ecbb7210894bc/Flask-Matomo-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee4f5be29d92c0903ea2ce498b35b5ae", "sha256": "12d77ebe25545d97f6efe888ca6dc86ce7bc959eac6a05f01d781b504a3124e0" }, "downloads": -1, "filename": "Flask-Matomo-1.2.0.tar.gz", "has_sig": false, "md5_digest": "ee4f5be29d92c0903ea2ce498b35b5ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3580, "upload_time": "2018-03-26T15:10:46", "url": "https://files.pythonhosted.org/packages/35/ca/f8b9f9b95d3a376006b7ae4a6e0cd4cb10cecce42fb2c91ecbb7210894bc/Flask-Matomo-1.2.0.tar.gz" } ] }