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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file streamlit-browser-engine-0.0.1.tar.gz
.
File metadata
- Download URL: streamlit-browser-engine-0.0.1.tar.gz
- Upload date:
- Size: 497.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd5d77a4381af8a7c219bedfbad7b9312eb939615e77d6293355a1f4fcf9590 |
|
MD5 | 9666cca2b4a3068dab95c1a7ae9d26a6 |
|
BLAKE2b-256 | ec1f829a08d0a27cb1caa83d5fdfeb4da2b65f2a3344c513e148ce31d8f40d1f |
File details
Details for the file streamlit_browser_engine-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: streamlit_browser_engine-0.0.1-py3-none-any.whl
- Upload date:
- Size: 502.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd405da1dc039032d2f9b92d4449cfb2b788634a26e2ba60d94f469da0dda88 |
|
MD5 | 1fe6f682a3b8bf1c98317670cf190b82 |
|
BLAKE2b-256 | 0fa54ee170102375fc224bdfb4254d3ef0fa7f42de0873f75d902ba88312351d |