Skip to main content

An easy to use Flask extension for Umami analytics

Project description

Flask-Umami

License PyPI Python Version PyPI - Wheel

Flask-Umami is an extension for Flask that simplifies the integration of the web analytics platform Umami into any Flask project.

Quickstart

Install

pip install Flask-Umami

Minimal Example

from flask import Flask
from flask_umami import Umami

app = Flask(__name__)
umami = Umami(
    app,
    umami_url="https://umami.example.com",
    umami_id="website-umami-id",
)


@app.route("/")
def home():
    return "Hello, World!"

if __name__ == "__main__":
    app.run()

(Check out the examples folder for a more in-depth example)

Disclaimer

Flask-Umami is not affiliated with Umami in any way. It simply provides a simple way to integrate Umami's HTML snippet into websites developed using Flask.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_umami-0.1.4.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_umami-0.1.4-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file flask_umami-0.1.4.tar.gz.

File metadata

  • Download URL: flask_umami-0.1.4.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for flask_umami-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9def7c57fffce5cefe4d02a0aeb28daa1be32a8a34e526de90159dd74308b098
MD5 979b530bcc6bc8bbae74d41ad1cb584c
BLAKE2b-256 c7291d8f6427c168f1651d21cb7117871b2d273f39c11b4222b08663489a31ae

See more details on using hashes here.

File details

Details for the file flask_umami-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: flask_umami-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for flask_umami-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 489db4bea67ef576e66222e99fb4eb93e1889877a5896279de8efbc375d460d5
MD5 68eb09276a4380659bcfb305a2752654
BLAKE2b-256 1bc28f6d0f2ff8d63827bedc7aa9f4070d9312a022b31a2954e623f5690a861d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page