Skip to main content

An easy to use Flask extension for Umami analytics

Project description

[pypi-url][]

Flask-Umami

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()

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.0.tar.gz (16.8 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.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask_umami-0.1.0.tar.gz
  • Upload date:
  • Size: 16.8 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.0.tar.gz
Algorithm Hash digest
SHA256 8453a5de8c69d90677498cc3c20c434b82771e52d5d8685ccd5890e9b2d6769c
MD5 ab8557a7787eb72818acc6243110746a
BLAKE2b-256 5fad5243530371f7b6b9b1f3619cedb1f2e23f1e598bf2d694ab5849bbaa6304

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flask_umami-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20f7eb38797f0d057ce3811da3cdaf14077918cc265fc149ed87589220aaeeb6
MD5 1f8ba8e9cb3be14055a52afc40dafded
BLAKE2b-256 c976ad136a7a17a27012e192c0b9e6d17cb71287c03320c57ab476a16df0abc1

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