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.1.tar.gz (497.7 kB view hashes)

Uploaded Source

Built Distribution

streamlit_browser_engine-0.0.1-py3-none-any.whl (502.9 kB view hashes)

Uploaded Python 3

Supported by

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