Skip to main content

Streamlit component that allows you to get browser stats like user agent or whether the app is being run on mobile or desktop and more.

Project description

streamlit-browser-engine

Streamlit component that allows you to get browser stats like user agent or whether the app is being run on mobile or desktop or if you are using Chrome, Firefox, IE etc and more.

Installation instructions

pip install streamlit-browser-engine

Usage instructions

import streamlit as st
from browser_detection import browser_detection_engine

value = browser_detection_engine()
st.write(value)

params:

  • singleRun [defaults to True] - if you only want component to run when app first runs. It will only run once and get the data once. Use False if you want to run everytime app re-runs.

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

streamlit_browser_engine-0.0.3.tar.gz (497.9 kB view details)

Uploaded Source

Built Distribution

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

streamlit_browser_engine-0.0.3-py3-none-any.whl (503.0 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_browser_engine-0.0.3.tar.gz.

File metadata

  • Download URL: streamlit_browser_engine-0.0.3.tar.gz
  • Upload date:
  • Size: 497.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for streamlit_browser_engine-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fa0068dbda8d6cd0388517bdada18cce4107a9549517a12e25a44777244c7b46
MD5 3f72653b28b793d90d3dcb9dc663a985
BLAKE2b-256 84a57ca182aa183ade942f607b88958e0c5c29fac579ff7ff48517d6a9d9d974

See more details on using hashes here.

File details

Details for the file streamlit_browser_engine-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_browser_engine-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7dbd37d3cb5f6e61e567562e55e24651bc80ca5d1d12a289e32597b067b88f47
MD5 bbca7bb807f09fc0a9bf4fafadbe7cb1
BLAKE2b-256 10beb67fdfdac083e14314ae196cff78db3563bf570bec6face9dade859294a3

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