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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file streamlit-browser-engine-0.0.1.tar.gz.

File metadata

File hashes

Hashes for streamlit-browser-engine-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5dd5d77a4381af8a7c219bedfbad7b9312eb939615e77d6293355a1f4fcf9590
MD5 9666cca2b4a3068dab95c1a7ae9d26a6
BLAKE2b-256 ec1f829a08d0a27cb1caa83d5fdfeb4da2b65f2a3344c513e148ce31d8f40d1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_browser_engine-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bd405da1dc039032d2f9b92d4449cfb2b788634a26e2ba60d94f469da0dda88
MD5 1fe6f682a3b8bf1c98317670cf190b82
BLAKE2b-256 0fa54ee170102375fc224bdfb4254d3ef0fa7f42de0873f75d902ba88312351d

See more details on using hashes here.

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