Skip to main content

An easy to use Flask extension for Umami analytics

Reason this release was yanked:

broken (typo)

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.3.tar.gz (17.4 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.3-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask_umami-0.1.3.tar.gz
  • Upload date:
  • Size: 17.4 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.3.tar.gz
Algorithm Hash digest
SHA256 47193be8721f1f88860833d220bb65756c7f29fdbebbb992b6d3decd885bd0bd
MD5 a5217a6f83789cef712e98541ba0804a
BLAKE2b-256 76af35c0c157d5d262f9521e91a8525e8bad162d79f28d3285cd7c77c1c79a08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flask_umami-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f9422889699514327f6f813cc3501dd13b156a72f44f39d6088b9dcec48a5e47
MD5 804820b0b3df78a1b83df8876a6a6ff9
BLAKE2b-256 a4f499bf1ba17c53c4e3ac61858facbb59e9d24c724601ebc0affb0580c4160a

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